diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2023-07-03 22:02:43 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2023-07-04 20:13:49 +0900 |
commit | 7690a31223213d11d72a5b44cd40d4455483798f (patch) | |
tree | b15b08d62a3a112560e9ce4a1334c57fad98cc5d /.github/workflows/dependabot_automerge.yml | |
parent | f7732d63f4b975cda5463932384b255e85e17642 (diff) |
chore: add blank lines [ci skip]
A bit readable to me.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8020
Diffstat (limited to '.github/workflows/dependabot_automerge.yml')
-rw-r--r-- | .github/workflows/dependabot_automerge.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/dependabot_automerge.yml b/.github/workflows/dependabot_automerge.yml index 081fbd500f..6259199b11 100644 --- a/.github/workflows/dependabot_automerge.yml +++ b/.github/workflows/dependabot_automerge.yml @@ -6,11 +6,14 @@ on: jobs: automerge: runs-on: ubuntu-latest + if: ${{ github.actor == 'dependabot[bot]' }} + steps: - name: Dependabot metadata uses: dependabot/fetch-metadata@c9c4182bf1b97f5224aee3906fd373f6b61b4526 # v1.6.0 id: metadata + - name: Wait for status checks uses: lewagon/wait-on-check-action@e106e5c43e8ca1edea6383a39a01c5ca495fd812 # v1.3.1 with: @@ -18,6 +21,7 @@ jobs: ref: ${{ github.event.pull_request.head.sha || github.sha }} check-regexp: 'make \(check, .*\)' wait-interval: 30 + - name: Auto-merge for Dependabot PRs if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' }} run: gh pr merge --auto --rebase "$PR_URL" |