Skip to content
Merged
Changes from all commits
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
9 changes: 9 additions & 0 deletions .github/workflows/validate-checksums.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
# Run the manifest checksum generator on each commit on the branch.
# If it changes, it will interrupt the rebase and exit with non-zero.
- name: Validate manifest checksums for every commit in the PR
if: ${{ github.event_name == 'pull_request' }}
env:
# commit ID of target branch
base_sha: ${{ github.event.pull_request.base.sha }}
Expand All @@ -60,3 +61,11 @@ jobs:
echo "-----------------------------------------------------------------------------"
exit 1
fi

# Run the manifest checksum generator on the HEAD (merge group temporary
# branch) and fail if there are changes.
- name: Validate manifest checksums (merge queue)
if: ${{ github.event_name == 'merge_group' }}
run: |
./tools/gen-manifest-checksums.sh
git diff --exit-code
Loading