From 87d718d7d692f72bdcd7d80d8be98d7ce414f9d1 Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Thu, 3 Dec 2020 13:43:10 +0000 Subject: [PATCH] Update common github actions Signed-off-by: Knative Automation --- .github/workflows/knative-releasability.yaml | 2 +- .github/workflows/knative-style.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/knative-releasability.yaml b/.github/workflows/knative-releasability.yaml index f13cc479ab..ca0820a6ee 100644 --- a/.github/workflows/knative-releasability.yaml +++ b/.github/workflows/knative-releasability.yaml @@ -142,7 +142,7 @@ jobs: echo 'SLACK_TITLE=Releasability for ${{ github.repository }} @ ${{ env.RELEASE }} is NO-GO!' >> $GITHUB_ENV - name: Post status to Slack - if: steps.exists.outputs.release-branch == 'false' + if: ${{ secrets.SLACK_WEBHOOK != '' && steps.exists.outputs.release-branch == 'false' }} uses: rtCamp/action-slack-notify@v2.1.0 env: SLACK_ICON: http://github.com/knative.png?size=48 diff --git a/.github/workflows/knative-style.yaml b/.github/workflows/knative-style.yaml index 56360215ff..5d3d3163ef 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.1.15 + WOKE_VERSION: v0.4.1 run: | TEMP_PATH="$(mktemp -d)" cd $TEMP_PATH