Fix name and message of dependency guard actions (#1196)

Change-Id: I9f4c51036f8322302653287db508a76415801a56
pull/1044/merge
Jonathan Koren 10 months ago committed by GitHub
parent c1d6c88bb0
commit 96b554d6a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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: |

Loading…
Cancel
Save