This repository has been archived by the owner on Jul 20, 2024. It is now read-only.
Bump peter-evans/create-pull-request from 6.0.4 to 6.0.5 #39
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 auto-merge | |
on: | |
pull_request_target: | |
branches: [main] | |
paths: | |
- ".github/workflows/*" | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
auto-merge: | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Merge for Dependabot PRs | |
run: gh pr merge $PR_URL --auto --squash | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Approve for Dependabot PRs | |
run: gh pr review "$PR_URL" --approve | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |