From 5164514789f129af5572b0c872aff0ad019e45d9 Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Thu, 30 Sep 2021 17:09:21 +0200 Subject: [PATCH] Remove Slack integration from build as it needs a token and will never work when PR is received from a fork. --- .github/workflows/build.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a913a9f7..df196213e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,15 +44,3 @@ jobs: restore-keys: ${{ runner.os }}-m2 - name: Build with Maven run: mvn clean install - - notify-slack: - if: github.repository == 'WebGoat/WebGoat' && github.event_name == 'push' && (success() || failure()) - needs: - - build - runs-on: ubuntu-latest - steps: - - name: "Slack workflow notification" - uses: Gamesight/slack-workflow-status@master - with: - repo_token: ${{secrets.GITHUB_TOKEN}} - slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}} \ No newline at end of file