更新 .gitea/workflows/update-rules.yml
Some checks failed
Auto Update Clash Rules / update-rules (push) Failing after 1m15s

This commit is contained in:
2025-09-11 06:27:26 -07:00
parent 5ddf4edba2
commit f162083fc8

View File

@@ -16,7 +16,7 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
token: ${{ secrets.GITEA_TOKEN }} token: ${{ secrets.WORKFLOW_TOKEN }}
- name: Set environment variables - name: Set environment variables
run: | run: |
@@ -342,7 +342,7 @@ jobs:
# 使用 Gitea API 创建 Release # 使用 Gitea API 创建 Release
curl -X POST \ curl -X POST \
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \ -H "Authorization: token ${{ secrets.WORKFLOW_TOKEN }}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{ -d '{
"tag_name": "${{ env.TAG_NAME }}", "tag_name": "${{ env.TAG_NAME }}",