Skip to content

keep_alive

keep_alive #1

Workflow file for this run

# Keep GitHub Actions scheduled workflows alive.
name: keep_alive
on:
workflow_dispatch:
schedule:
- cron: '20 0 1 * *'
jobs:
keep_alive:
runs-on: ubuntu-latest
steps:
- name: Generate GitHub installation access token.
uses: actions/[email protected]
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- name: Keep cronjob based triggers of GitHub workflows alive
uses: PhrozenByte/gh-workflow-immortality@v1
with:
secret: ${{ steps.app-token.outputs.token }}
repos: ${{ github.repository }}