|
|
@ -91,13 +91,6 @@ jobs:
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
echo "::error::Check Graphs failed, please update graphs with: ./gradlew updateGraph" && exit 1
|
|
|
|
echo "::error::Check Graphs failed, please update graphs with: ./gradlew updateGraph" && exit 1
|
|
|
|
|
|
|
|
|
|
|
|
# Runs if previous job failed
|
|
|
|
|
|
|
|
- name: Generate new Dependency Guard baselines if verification failed and it's a PR
|
|
|
|
|
|
|
|
id: dependencyguard_baseline
|
|
|
|
|
|
|
|
if: steps.dependencyguard_verify.outcome == 'failure' && github.event_name == 'pull_request'
|
|
|
|
|
|
|
|
run: |
|
|
|
|
|
|
|
|
./gradlew dependencyGuardBaseline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Push new graphs if available
|
|
|
|
- name: Push new graphs if available
|
|
|
|
if: steps.graphs_verify.outcome == 'failure' && github.event_name == 'pull_request'
|
|
|
|
if: steps.graphs_verify.outcome == 'failure' && github.event_name == 'pull_request'
|
|
|
|
uses: stefanzweifel/git-auto-commit-action@v5
|
|
|
|
uses: stefanzweifel/git-auto-commit-action@v5
|
|
|
|