Remove Slack integration from build as it needs a token and will never work when PR is received from a fork.
This commit is contained in:
parent
f28bb09724
commit
5164514789
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -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}}
|
Loading…
x
Reference in New Issue
Block a user