Cleaned up pom, added simple quality test action on push usable for forks of the repo

This commit is contained in:
Jeroen Willemsen
2021-09-29 09:40:45 +02:00
committed by Nanne Baars
parent 0c285eef5b
commit 9403bbb851
6 changed files with 58 additions and 8 deletions

View File

@ -46,12 +46,12 @@ jobs:
run: mvn clean install
notify-slack:
if: github.event_name == 'push' && (success() || failure())
if: github.repository == 'WebGoat/WebGoat' && github.event_name == 'push' && (success() || failure())
needs:
- build
runs-on: ubuntu-latest
steps:
- name: "Slack workflow notification"
- name: "Slack workflow notification fork test"
uses: Gamesight/slack-workflow-status@master
with:
repo_token: ${{secrets.GITHUB_TOKEN}}