diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml new file mode 100644 index 00000000..f876fa94 --- /dev/null +++ b/.github/workflows/keepalive.yml @@ -0,0 +1,27 @@ +name: keepalive + +on: + schedule: + - cron: '0 0 1 * *' + workflow_dispatch: + +concurrency: + group: keepalive + cancel-in-progress: false + +jobs: + keepalive: + name: Keep Workflows Alive on Ubuntu 24.04 + runs-on: ubuntu-24.04 + permissions: + actions: write + steps: + - name: Re-enable Workflows + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh workflow enable cron.yml --repo $GITHUB_REPOSITORY + gh workflow enable keepalive.yml --repo $GITHUB_REPOSITORY + gh workflow enable psalm.yml --repo $GITHUB_REPOSITORY + gh workflow enable security.yml --repo $GITHUB_REPOSITORY + gh workflow enable test.yml --repo $GITHUB_REPOSITORY