fix: use env var for API token, YAML folded scalar for args
CI / test (push) Failing after 7s

This commit is contained in:
2026-05-29 22:07:39 +08:00
parent cd534710e2
commit 7cf2231342
3 changed files with 21 additions and 4 deletions
+8 -3
View File
@@ -24,6 +24,11 @@ jobs:
- name: Create issue on failure
if: failure()
shell: cmd
run: |
python scripts/create_failure_issue.py --sha "${{ github.sha }}" --branch "${{ github.ref_name }}" --run "${{ github.run_number }}" --message "${{ github.event.head_commit.message }}" --api-token "${{ secrets.D }}"
env:
GITEA_API_TOKEN: ${{ secrets.D }}
run: >-
python scripts/create_failure_issue.py
--sha "${{ github.sha }}"
--branch "${{ github.ref_name }}"
--run "${{ github.run_number }}"
--message "${{ github.event.head_commit.message }}"