From bca4d1e4db4accd9c40cc95a68be93283ad7421d Mon Sep 17 00:00:00 2001 From: Oliver Mannion <125105+tekumara@users.noreply.github.com> Date: Sun, 14 May 2023 20:34:27 +1000 Subject: [PATCH] ci: fix wait for specific check rather than the currently running workflow, which was incorrectly specified --- .github/workflows/ci.yml | 2 -- .github/workflows/release.yml | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3ceff2..9de912c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,7 @@ env: jobs: build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 - uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7563b07..7937b65 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/wait-on-check-action@v1.3.1 with: ref: ${{ github.ref }} - running-workflow-name: ci + check-name: build repo-token: ${{ secrets.GITHUB_TOKEN }} wait-interval: 5