Skip to content

Commit 42de953

Browse files
committed
automerge for dep prs
Signed-off-by: clux <sszynrae@gmail.com>
1 parent 73a6fef commit 42de953

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ permissions:
88
jobs:
99
dependabot:
1010
runs-on: ubuntu-latest
11-
if: ${{ github.actor == 'dependabot[bot]' }}
11+
if: ${{ github.actor == 'sszynrae' || github.actor == 'dependabot[bot]' }}
1212
steps:
1313
- name: Dependabot metadata
1414
id: metadata
@@ -20,8 +20,7 @@ jobs:
2020
env:
2121
PR_URL: ${{github.event.pull_request.html_url}}
2222
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
23-
- name: Enable auto-merge for Dependabot PRs
24-
#if: ${{contains(steps.metadata.outputs.dependency-names, 'my-dependency') && steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
23+
- name: Enable auto-merge for Dependency PRs
2524
run: gh pr merge --auto --squash "$PR_URL"
2625
env:
2726
PR_URL: ${{github.event.pull_request.html_url}}

0 commit comments

Comments
 (0)