File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 66
77 # Run every Sunday at 00:00:
88 schedule :
9- - cron : 5 * * * * # FIXME: try if it works
10- # - cron: 0 0 * * 0
9+ - cron : 0 0 * * 0
1110
1211jobs :
1312 main :
14- # Check if the event is not triggered by a fork
15- if : github.event.pull_request.head.repo.full_name == github.repository
1613 runs-on : ubuntu-latest
1714
1815 steps :
2724 id : update-lockfile
2825 run : ./scripts/commit_flake_update.bash
2926
27+ 28+ id : generate-token
29+ with :
30+ app_id : ${{ secrets.APP_ID }}
31+ private_key : ${{ secrets.APP_PRIVATE_KEY }}
32+
3033 - name : Create Pull Request
3134 uses : peter-evans/create-pull-request@v5
3235 with :
36+ token : ${{ steps.generate-token.outputs.token }}
3337 title : ' Update Nix Flake lockfile'
3438 commit-message : ${{ env.COMMIT_MSG }}
3539 branch : ' create-pull-request/update-flake-lockfile'
You can’t perform that action at this time.
0 commit comments