chore: use PAT instead of gitHub.token for release so github pages is deployed #2698
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: Enable automerge on dependabot PRs | |
on: | |
pull_request_target: | |
jobs: | |
automerge: | |
name: Enable automerge on dependabot PRs | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
repository-projects: write | |
if: github.actor == 'dependabot[bot]' && !contains(github.head_ref, 'dependabot/npm_and_yarn/swipl-wasm-') | |
steps: | |
- uses: actions/checkout@v4 | |
- run: gh pr merge ${{ github.event.pull_request.html_url }} --auto --squash | |
env: | |
GH_TOKEN: ${{ github.token }} |