Skip to content

Commit

Permalink
ci: fix wait for specific check
Browse files Browse the repository at this point in the history
rather than the currently running workflow, which was incorrectly specified
  • Loading branch information
tekumara committed May 14, 2023
1 parent 2d11068 commit bca4d1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ env:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@ on:
release:
types: [published]
workflow_dispatch:
workflow_call:

jobs:
wait:
runs-on: ubuntu-latest
steps:
- name: Wait for all ci checks to succeed
- name: Wait for build check to succeed
uses: lewagon/[email protected]
with:
ref: ${{ github.ref }}
running-workflow-name: ci
check-name: build
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 5

Expand Down

0 comments on commit bca4d1e

Please sign in to comment.