Skip to content

Commit c2c7a6c

Browse files
Create immortality.yml
1 parent 2e7415e commit c2c7a6c

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/immortality.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: GitHub Workflow Immortality
2+
3+
on:
4+
schedule:
5+
# run once a month on the first day of the month at 00:20 UTC
6+
- cron: '20 0 1 * *'
7+
workflow_dispatch: {}
8+
9+
jobs:
10+
keepalive:
11+
name: GitHub Workflow Immortality
12+
runs-on: ubuntu-latest
13+
permissions: {}
14+
steps:
15+
- name: Keep cronjob based triggers of GitHub workflows alive
16+
uses: PhrozenByte/gh-workflow-immortality@v1
17+
with:
18+
secret: ${{ secrets.ACTIONS_TRIGGER_PAT }}
19+
repos: ${{ github.repository }}

0 commit comments

Comments
 (0)