From d81088d9983eadf23f5f7023af5242d7e30982d6 Mon Sep 17 00:00:00 2001 From: knative-automation Date: Tue, 16 Feb 2021 12:06:43 -0800 Subject: [PATCH] Update common github actions (#940) Signed-off-by: Knative Automation --- .github/workflows/knative-releasability.yaml | 8 ++++++++ .github/workflows/knative-style.yaml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/knative-releasability.yaml b/.github/workflows/knative-releasability.yaml index 3ff9d2df7..f9b1799f2 100644 --- a/.github/workflows/knative-releasability.yaml +++ b/.github/workflows/knative-releasability.yaml @@ -157,3 +157,11 @@ jobs: ${{ env.CHECK_MESSAGE }} ${{ env.VERIFY_MESSAGE }} For detailed logs: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} + + - name: Fail if NO-GO + if: steps.exists.outputs.release-branch == 'false' && env.current == 'false' + run: | + # When we have figured out that things are NO-GO, we intentionally fail the job + # so that the status badge shows up red and we can use the badges to create a + # releasability dashboard for all of the repos. + exit 1 diff --git a/.github/workflows/knative-style.yaml b/.github/workflows/knative-style.yaml index 4e0947a9b..be7ce9a87 100644 --- a/.github/workflows/knative-style.yaml +++ b/.github/workflows/knative-style.yaml @@ -100,7 +100,7 @@ jobs: - name: Install Tools env: - WOKE_VERSION: v0.4.1 + WOKE_VERSION: v0.5.0 run: | TEMP_PATH="$(mktemp -d)" cd $TEMP_PATH