Skip to content

Commit

Permalink
auto approve
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay authored Jan 6, 2024
1 parent f75b461 commit 87a08ea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: automerge
on: pull_request_target
on: pull_request

permissions:
contents: write
Expand All @@ -16,8 +16,7 @@ jobs:
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
# if: ${{contains(steps.metadata.outputs.dependency-names, 'my-dependency') && steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
if: ${{contains(steps.metadata.outputs.dependency-names, 'pipeworks') || contains(steps.metadata.outputs.dependency-names, 'technic')}}
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
Expand Down

0 comments on commit 87a08ea

Please sign in to comment.