This repository was archived by the owner on Jan 16, 2025. It is now read-only.
Commit b026b34 1 parent 5192871 commit b026b34 Copy full SHA for b026b34
File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 47
47
env :
48
48
PR_URL : ${{github.event.pull_request.html_url}}
49
49
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
50
+
51
+ # https://github.com/kachick/anylang-template/issues/51
52
+ selfup-runner :
53
+ timeout-minutes : 30
54
+ runs-on : ubuntu-latest
55
+ if : ${{ github.actor == 'selfup-runner[bot]' }}
56
+ steps :
57
+ - name : Wait other jobs
58
+ uses : kachick/wait-other-jobs@v2
59
+ timeout-minutes : 20
60
+ - name : Approve and merge
61
+ run : gh pr review --approve "$PR_URL" && gh pr merge --auto --delete-branch --squash "$PR_URL"
62
+ env :
63
+ PR_URL : ${{ github.event.pull_request.html_url }}
64
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
update-nixpkgs :
14
- uses : kachick/anylang-template /.github/workflows/reusable-update-nixpkgs- and-versions-in-ci .yml@b267dd151327488f5cf15d9f2b273f4ece1da401
14
+ uses : kachick/selfup /.github/workflows/reusable-bump-flake-lock- and-selfup .yml@action-v1
15
15
if : (github.event.sender.login == 'kachick') || (github.event_name != 'pull_request')
16
16
with :
17
17
dry-run : ${{ github.event_name == 'pull_request' }}
You can’t perform that action at this time.
0 commit comments