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