Skip to content

Commit

Permalink
ci: Adopt the liskin/gh-workflow-keepalive action
Browse files Browse the repository at this point in the history
This avoids hardcoding the workflow filename and thus makes
refactoring/renaming less error-prone.
  • Loading branch information
liskin committed Feb 15, 2024
1 parent 5cf87c7 commit 4b9ef59
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/packdeps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,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

0 comments on commit 4b9ef59

Please sign in to comment.