diff --git a/.github/workflows/dogfood.yml b/.github/workflows/dogfood.yml index d16b952fed8..444848599ef 100644 --- a/.github/workflows/dogfood.yml +++ b/.github/workflows/dogfood.yml @@ -38,14 +38,14 @@ jobs: run: echo "The dogfood branch was `${{ steps.dogfood.outputs.dogfood-branch }}` and its HEAD SHA1 was `${{ steps.dogfood.outputs.sha1 }}`" #slack notifications - name: Notify success on Slack - uses: Ilshidur/action-slack@1.6.2 + uses: Ilshidur/action-slack@2.0.0 env: SLACK_WEBHOOK: ${{ fromJSON(steps.secrets.outputs.vault).SLACK_WEBHOOK }} SLACK_OVERRIDE_MESSAGE: 'Dogfood build for `${{ steps.dogfood.outputs.sha1 }}`: *successful*' with: args: 'Succeed to build dogfood branch' - name: Notify failures on Slack - uses: Ilshidur/action-slack@1.6.2 + uses: Ilshidur/action-slack@2.0.0 if: failure() with: args: "Dogfood merge failed by {{ GITHUB_ACTOR }}, see {{ GITHUB_SERVER_URL }}/{{ GITHUB_REPOSITORY }}/actions/runs/{{ GITHUB_RUN_ID }}" \ No newline at end of file