Skip to content

Commit

Permalink
Add automerge for dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
heppu committed Dec 2, 2024
1 parent 954cb8d commit 62ed676
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,18 @@ jobs:
image-tags: sha-${{ github.event.pull_request.head.sha }}
secrets:
gar-json-key: ${{ secrets.GAR_JSON_KEY }}

automerge:
needs: [build]
permissions:
pull-requests: write
contents: write
runs-on: elisa-normal
timeout-minutes: 15
if: github.actor == 'dependabot[bot]'
steps:
- name: Automerge dependabot PR
uses: elisa-actions/github-action-merge-dependabot@v3
with:
target: minor
github-token: ${{ secrets.DOPS_SRE_PAT }}

0 comments on commit 62ed676

Please sign in to comment.