diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index c623ab1..69629f9 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -42,8 +42,8 @@ jobs: uses: ./ # 傳入 action inputs。 with: - # Gitea Actions 自動注入的 repo 範圍 token,用於 PR 留言與 findings 寫回。 - token: ${{ gitea.token }} + # PR 留言與 findings 寫回用的 token(呼叫端以 secrets 傳入)。 + token: ${{ secrets.TOKEN }} # 啟用建問題模式:審查內容改發到追蹤 issue,並在 PR 回貼 issue 連結。 create-issue: 'true' # 推送 findings/exclusions commit 用的 PAT:以 PAT 身分推送才會讓結果 commit 再觸發 CI, @@ -73,8 +73,8 @@ jobs: uses: ./ # 傳入 action inputs。 with: - # Gitea Actions 自動注入的 repo 範圍 token,用於 PR 留言與 findings 寫回。 - token: ${{ gitea.token }} + # PR 留言與 findings 寫回用的 token(呼叫端以 secrets 傳入)。 + token: ${{ secrets.TOKEN }} # 啟用建問題模式:審查內容改發到追蹤 issue,並在 PR 回貼 issue 連結。 create-issue: 'true' # 推送 findings/exclusions commit 用的 PAT:以 PAT 身分推送才會讓結果 commit 再觸發 CI, @@ -104,8 +104,8 @@ jobs: uses: ./ # 傳入 action inputs。 with: - # Gitea Actions 自動注入的 repo 範圍 token,用於 PR 留言與 findings 寫回。 - token: ${{ gitea.token }} + # PR 留言與 findings 寫回用的 token(呼叫端以 secrets 傳入)。 + token: ${{ secrets.TOKEN }} # 啟用建問題模式:審查內容改發到追蹤 issue,並在 PR 回貼 issue 連結。 create-issue: 'true' # 推送 findings/exclusions commit 用的 PAT:以 PAT 身分推送才會讓結果 commit 再觸發 CI,