mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20: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
|
*.cabal
|
||||||
|
|
||||||
workflow-keepalive:
|
workflow-keepalive:
|
||||||
|
if: github.event_name == 'schedule'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
actions: write
|
||||||
steps:
|
steps:
|
||||||
- name: Re-enable workflow
|
- uses: liskin/gh-workflow-keepalive@v1
|
||||||
env:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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