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
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,16 @@ jobs:
working-directory: frontend
run: npm test

- name: Third-party notices up to date
# Fails when a dependency changed without regenerating the file.
run: go run ./tools/notices -check
- name: Third-party notices
# Regenerated so every build ships the notices of the dependencies it
# was built with. A stale committed copy (every Dependabot bump) is a
# warning: run go run ./tools/notices and commit the result.
run: |
go run ./tools/notices
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
if (git status --porcelain -- THIRD_PARTY_NOTICES.txt) {
echo "::warning::THIRD_PARTY_NOTICES.txt is out of date: run go run ./tools/notices and commit the result"
}

- name: Sign
if: env.SIGNPATH != 'true'
Expand Down