diff options
Diffstat (limited to '.github/workflows/update-flake.yaml')
| -rw-r--r-- | .github/workflows/update-flake.yaml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/update-flake.yaml b/.github/workflows/update-flake.yaml index f87726f..b4ae88c 100644 --- a/.github/workflows/update-flake.yaml +++ b/.github/workflows/update-flake.yaml @@ -10,6 +10,10 @@ jobs: update: runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + steps: - uses: actions/checkout@v4 @@ -22,11 +26,11 @@ jobs: with: commit-msg: "flake: update inputs" pr-title: "flake: update inputs" - token: ${{ secrets.MERGE_TOKEN }} + token: ${{ github.token }} - name: Enable auto-merge shell: bash run: gh pr merge --auto --rebase "$PR_ID" env: - GH_TOKEN: ${{ secrets.MERGE_TOKEN }} + GH_TOKEN: ${{ github.token }} PR_ID: ${{ steps.update.outputs.pull-request-number }} |
