File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 - name : Collect PR commit messages
3333 id : collect
3434 env :
35- GH_TOKEN : ${{ github.token }}
35+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3636 COMMITS_URL : ${{ github.event.pull_request.commits_url }}
3737 run : |
3838 set -euo pipefail
@@ -125,7 +125,7 @@ jobs:
125125 - name : Create 'AI assisted' label if absent
126126 if : steps.ai_trailers.outputs.ai_assisted == 'true' || steps.agent_signoff.outputs.agent_signoff == 'true' || steps.co_authored.outputs.co_authored == 'true'
127127 env :
128- GH_TOKEN : ${{ github.token }}
128+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
129129 run : |
130130 gh api "repos/${{ github.repository }}/labels" \
131131 --method POST \
@@ -137,7 +137,7 @@ jobs:
137137 - name : Label PR as AI assisted
138138 if : steps.ai_trailers.outputs.ai_assisted == 'true' || steps.agent_signoff.outputs.agent_signoff == 'true' || steps.co_authored.outputs.co_authored == 'true'
139139 env :
140- GH_TOKEN : ${{ github.token }}
140+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
141141 run : |
142142 gh pr edit "${{ github.event.pull_request.number }}" \
143143 --repo "${{ github.repository }}" \
You can’t perform that action at this time.
0 commit comments