Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Re-enable graph creation using CI
  • Loading branch information
dturner committed Dec 4, 2025
commit a223ed6d169ad2c6ab49596c64f9d7b706f9d9c8
43 changes: 21 additions & 22 deletions .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,28 +77,27 @@ jobs:
disable_globbing: true
commit_message: "🤖 Updates baselines for Dependency Guard"

# See https://github.com/android/nowinandroid/issues/2005
# - name: Update Graphs
# run: ./gradlew graphUpdate
#
# - name: Check Graphs
# id: graphs_verify
# run: git add -- "**/README.md" && git diff --cached --quiet --exit-code -- "**/README.md"
#
# - name: Prevent updating graphs if this is a fork
# id: checkfork_graphs
# continue-on-error: false
# if: steps.graphs_verify.outcome == 'failure' && github.event.pull_request.head.repo.full_name != github.repository
# run: |
# echo "::error::Check Graphs failed, please update graphs with: ./gradlew graphUpdate" && exit 1
#
# - name: Push new graphs if available
# if: steps.graphs_verify.outcome == 'failure' && github.event_name == 'pull_request'
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# file_pattern: '**/README.md'
# disable_globbing: true
# commit_message: "🤖 Updates graphs"
- name: Update Graphs
run: ./gradlew graphUpdate

- name: Check Graphs
id: graphs_verify
run: git add -- "**/README.md" && git diff --cached --quiet --exit-code -- "**/README.md"

- name: Prevent updating graphs if this is a fork
id: checkfork_graphs
continue-on-error: false
if: steps.graphs_verify.outcome == 'failure' && github.event.pull_request.head.repo.full_name != github.repository
run: |
echo "::error::Check Graphs failed, please update graphs with: ./gradlew graphUpdate" && exit 1

- name: Push new graphs if available
if: steps.graphs_verify.outcome == 'failure' && github.event_name == 'pull_request'
uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: '**/README.md'
disable_globbing: true
commit_message: "🤖 Updates graphs"

- name: Run all local screenshot tests (Roborazzi)
id: screenshotsverify
Expand Down
Loading