Skip to content

Commit

Permalink
Update auto-merge-github-actions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
spy86 authored Jun 10, 2024
1 parent eb5ae29 commit cf7e2a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/auto-merge-github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@ on:
- opened
- synchronize
permissions:
contents: write
contents: write-all
pull-requests: write
jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && contains(github.event.pull_request.head.ref, 'dependabot/github_actions/')
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Auto approve
uses: hmarr/[email protected]
with:
github-token: ${{ secrets.GH_TOKEN }}
- name: Merge pull request
uses: pascalgn/automerge-action@v0.16.3
uses: pascalgn/automerge-action@v0.14.3
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit cf7e2a4

Please sign in to comment.