Skip to content

Commit

Permalink
Bump kachick/wait-other-jobs from 2 to 3 (#197)
Browse files Browse the repository at this point in the history
* Bump kachick/wait-other-jobs from 2 to 3

Bumps [kachick/wait-other-jobs](https://github.com/kachick/wait-other-jobs) from 2 to 3.
- [Release notes](https://github.com/kachick/wait-other-jobs/releases)
- [Changelog](https://github.com/kachick/wait-other-jobs/blob/main/CHANGELOG.md)
- [Commits](kachick/wait-other-jobs@v2...v3)

---
updated-dependencies:
- dependency-name: kachick/wait-other-jobs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update options for wait-other-jobs

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kenichi Kamiya <kachick1@gmail.com>
  • Loading branch information
dependabot[bot] and kachick authored Apr 18, 2024
1 parent 3a94b81 commit 3f4fd3b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/merge-bot-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Wait other jobs
uses: kachick/wait-other-jobs@v2
uses: kachick/wait-other-jobs@v3
timeout-minutes: 30
with:
retry-method: 'equal_intervals'
min-interval-seconds: '15'
skip-same-workflow: 'true'
skip-list: |
[
{
"workflowFile": "release.yml"
}
]
- name: Approve and merge
run: gh pr review --approve "$PR_URL" && gh pr merge --auto --squash --delete-branch "$PR_URL"
env:
Expand All @@ -54,11 +61,18 @@ jobs:
if: ${{ github.actor == 'renovate[bot]' }}
steps:
- name: Wait other jobs
uses: kachick/wait-other-jobs@v2
uses: kachick/wait-other-jobs@v3
timeout-minutes: 30
with:
retry-method: 'equal_intervals'
min-interval-seconds: '15'
skip-same-workflow: 'true'
skip-list: |
[
{
"workflowFile": "release.yml"
}
]
- name: Approve and merge
run: gh pr review --approve "$PR_URL" && gh pr merge --auto --squash --delete-branch "$PR_URL"
env:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Wait other jobs
uses: kachick/wait-other-jobs@v2
uses: kachick/wait-other-jobs@v3
with:
retry-method: 'equal_intervals'
skip-list: |
[
{
"workflowFile": "merge-bot-pr.yml"
}
]
if: startsWith(github.ref, 'refs/tags/')
- name: Release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 3f4fd3b

Please sign in to comment.