Skip to content

Commit 68889d5

Browse files
committed
One needs a PAT to push a commit changing workflow files
* Unfortunately the workflows permission is not available in the workflow permissions section.
1 parent 3aaad85 commit 68889d5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/check-new-releases.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ on:
33
schedule:
44
- cron: '0 7,19 * * *'
55
workflow_dispatch:
6-
permissions:
7-
contents: write # for pushing to master
8-
actions: write # for changing .github/workflows/build.yml
96

107
jobs:
118
check_new_releases:
@@ -14,6 +11,7 @@ jobs:
1411
- uses: actions/checkout@v4
1512
with:
1613
fetch-depth: 0
14+
token: ${{ secrets.PUSH_TO_MASTER_TOKEN }}
1715
- name: Clone setup-ruby
1816
uses: actions/checkout@v4
1917
with:

0 commit comments

Comments
 (0)