Skip to content

Commit

Permalink
Bump kachick/wait-other-jobs from 2 to 3 (#502)
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] <[email protected]>

* Update use of actions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kenichi Kamiya <[email protected]>
  • Loading branch information
dependabot[bot] and kachick authored May 1, 2024
1 parent ad1f485 commit 85db525
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,15 @@ jobs:
- name: Build
run: npm run build
- name: Wait other jobs
uses: kachick/wait-other-jobs@v2
uses: kachick/wait-other-jobs@v3
with:
skip-same-workflow: 'true'
skip-list: |
[
{
"workflowFile": "merge-bot-pr.yml"
}
]
timeout-minutes: 15
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down
30 changes: 27 additions & 3 deletions .github/workflows/merge-bot-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,15 @@ jobs:
uses: dependabot/[email protected]
- name: Wait other jobs
if: ${{ steps.metadata.outputs.update-type != 'version-update:semver-major' }}
uses: kachick/wait-other-jobs@v2
uses: kachick/wait-other-jobs@v3
with:
skip-same-workflow: 'true'
skip-list: |
[
{
"workflowFile": "firebase-hosting-merge.yml"
}
]
timeout-minutes: 10
- name: Approve and merge
if: ${{ steps.metadata.outputs.update-type != 'version-update:semver-major' || contains(steps.metadata.outputs.dependency-names, 'DeterminateSystems') }}
Expand All @@ -40,7 +48,15 @@ jobs:
if: ${{ github.actor == 'renovate[bot]' }}
steps:
- name: Wait other jobs
uses: kachick/wait-other-jobs@v2
uses: kachick/wait-other-jobs@v3
with:
skip-same-workflow: 'true'
skip-list: |
[
{
"workflowFile": "firebase-hosting-merge.yml"
}
]
timeout-minutes: 10
- name: Approve and merge
run: gh pr review --approve "$PR_URL" && gh pr merge --auto --squash "$PR_URL"
Expand All @@ -54,7 +70,15 @@ jobs:
if: ${{ github.actor == 'mobu-update-dependencies[bot]' }}
steps:
- name: Wait other jobs
uses: kachick/wait-other-jobs@v2
uses: kachick/wait-other-jobs@v3
with:
skip-same-workflow: 'true'
skip-list: |
[
{
"workflowFile": "firebase-hosting-merge.yml"
}
]
timeout-minutes: 20
- name: Approve and merge
run: gh pr review --approve "$PR_URL" && gh pr merge --auto --delete-branch --squash "$PR_URL"
Expand Down

0 comments on commit 85db525

Please sign in to comment.