Skip to content

Commit 4809931

Browse files
authored
fix: use custom PAT to push workflows from PRs (#32)
1 parent 3c4f4f6 commit 4809931

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/check-golangupx-release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Check for new Golang upx releases
22

33
on:
44
schedule:
5-
# Run every 24 hours
6-
- cron: '0 0 * * *'
5+
# Run every sunday
6+
- cron: '0 0 * * 0'
77
workflow_dispatch: # Allow manual trigger
88

99
jobs:
@@ -76,11 +76,12 @@ jobs:
7676
runs-on: ubuntu-latest
7777
permissions:
7878
contents: write
79+
actions: write
7980
steps:
8081
- name: Checkout repository
8182
uses: actions/checkout@v4
8283
with:
83-
token: ${{ secrets.GITHUB_TOKEN }}
84+
token: ${{ secrets.PUSH_WORKFLOW }}
8485

8586
- name: Update Dockerfile
8687
run: |

0 commit comments

Comments
 (0)