Skip to content

Commit

Permalink
chore: allow auto merge [] (#635)
Browse files Browse the repository at this point in the history
  • Loading branch information
2wce authored Jul 25, 2024
1 parent b561816 commit c5639bd
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Auto approve

name: 'dependabot approve-and-request-merge'
on: pull_request_target

jobs:
auto-approve:
worker:
permissions:
contents: write
id-token: write
pull-requests: write
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: hmarr/auto-approve-action@v2.1.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
- uses: contentful/github-auto-merge@v2
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
VAULT_URL: ${{ secrets.VAULT_URL }}

0 comments on commit c5639bd

Please sign in to comment.