mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-18 19:10:21 -07:00
ci: Adopt the liskin/gh-workflow-keepalive action
This avoids hardcoding the workflow filename and thus makes refactoring/renaming less error-prone.
This commit is contained in:
parent
ae5949657b
commit
93ad0ef2ea
9
.github/workflows/packdeps.yml
vendored
9
.github/workflows/packdeps.yml
vendored
@ -42,10 +42,11 @@ jobs:
|
||||
*.cabal
|
||||
|
||||
workflow-keepalive:
|
||||
if: github.event_name == 'schedule'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
steps:
|
||||
- name: Re-enable workflow
|
||||
env:
|
||||
- uses: liskin/gh-workflow-keepalive@v1
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
gh api -X PUT repos/${{ github.repository }}/actions/workflows/packdeps.yml/enable
|
||||
|
Loading…
x
Reference in New Issue
Block a user