diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 7225847..65221af 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -165,9 +165,9 @@ jobs: 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/check.yaml/enable