Skip to content

Commit 1a900a2

Browse files
committed
use github token for quiet period re-dispatch
1 parent 68f1ef6 commit 1a900a2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/code-tag.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
contains(github.event.pull_request.labels.*.name, 'Create release'))
2727
permissions:
2828
contents: write
29+
actions: write
2930
runs-on: ubuntu-latest
3031
steps:
3132
- name: Get app token
@@ -45,7 +46,7 @@ jobs:
4546
id: quiet
4647
if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.quiet_retries != '0')
4748
env:
48-
GH_TOKEN: ${{ steps.app-token.outputs.token }}
49+
GH_TOKEN: ${{ github.token }}
4950
QUIET_RETRIES: ${{ github.event.inputs.quiet_retries || 0 }}
5051
run: |
5152
RETRIES="${QUIET_RETRIES}"

0 commit comments

Comments
 (0)