|
|
@ -55,11 +55,10 @@ jobs:
|
|
|
|
continue-on-error: false
|
|
|
|
continue-on-error: false
|
|
|
|
if: steps.dependencyguard_verify.outcome == 'failure' && github.event.pull_request.head.repo.full_name != github.repository
|
|
|
|
if: steps.dependencyguard_verify.outcome == 'failure' && github.event.pull_request.head.repo.full_name != github.repository
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
echo "::error::Dependency Guard failed, please run the following to update baselines:\n" \
|
|
|
|
echo "::error::Dependency Guard failed, please update baselines with: ./gradlew dependencyGuardBaseline" && exit 1
|
|
|
|
" ./gradlew dependencyGuardBaseline" && exit 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Runs if previous job failed
|
|
|
|
# Runs if previous job failed
|
|
|
|
- name: Generate new screenshots if verification failed and it's a PR
|
|
|
|
- name: Generate new Dependency Guard baselines if verification failed and it's a PR
|
|
|
|
id: dependencyguard_baseline
|
|
|
|
id: dependencyguard_baseline
|
|
|
|
if: steps.dependencyguard_verify.outcome == 'failure' && github.event_name == 'pull_request'
|
|
|
|
if: steps.dependencyguard_verify.outcome == 'failure' && github.event_name == 'pull_request'
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|