Fix: make sure the cache file is writable #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dependabot Automerge | |
on: | |
pull_request_target: | |
types: | |
# - edited # PR's base branch was changed | |
- opened | |
- reopened | |
- synchronize # PR's branch was edited (i.e. new commits) | |
permissions: | |
# actions/checkout@v4, `gh` CLI | |
contents: write | |
# `gh` CLI | |
repository-projects: read | |
pull-requests: write | |
jobs: | |
dependabot-automerge: | |
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} | |
runs-on: ubuntu-latest | |
steps: | |
# Required for `gh` CLI | |
- uses: actions/checkout@v4 | |
- run: gh pr merge "${{ github.event.pull_request.number }}" --squash --auto | |
env: | |
GH_TOKEN: ${{ github.token }} |