Skip to content

Commit

Permalink
fix(defaults): automerge GH actions and terraform PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Morelly committed Jan 12, 2024
1 parent 274e901 commit 61d1d29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
id: dependabot-metadata
uses: dependabot/fetch-metadata@v1
- name: Enable auto-merge for Dependabot PRs
if: ${{contains(fromJSON('["terraform", "github-actions"]'), steps.dependabot-metadata.outputs.dependency-names) && steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch'}}
if: ${{steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch'}}
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 61d1d29

Please sign in to comment.