address review: run asset-notices check on every PR

The notices reference files under src/, so a paths filter can't
enumerate everything a rename could rot. Also verify the social card
gradient by full path.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Samuel Newman
2026-08-05 21:03:44 +03:00
parent 315abd364d
commit 1f5baf0a81
2 changed files with 3 additions and 29 deletions
+2 -28
View File
@@ -7,39 +7,13 @@ name: Asset notices
# updated, the notice silently stops meaning anything. This job makes that visible in review
# rather than a year later.
#
# The two paths lists below are duplicated on purpose — GitHub Actions does not support YAML
# anchors. Keep them in sync.
# No paths filter: the notices also reference files under src/ (e.g. the inline logo components),
# so any rename anywhere in the tree can rot a notice. The check runs in under a second.
on:
push:
branches: [main]
paths:
- 'ASSETS.md'
- 'NOTICE.md'
- 'LICENSE'
- 'licenses/**'
- 'assets/**'
- 'bskyembed/assets/**'
- 'bskyogcard/src/assets/**'
- 'bskyweb/static/**'
- 'bskyweb/embedr-static/**'
- 'modules/BlueskyClip/Images.xcassets/**'
- 'scripts/check-asset-notices.mjs'
- '.github/workflows/asset-notices.yml'
pull_request:
paths:
- 'ASSETS.md'
- 'NOTICE.md'
- 'LICENSE'
- 'licenses/**'
- 'assets/**'
- 'bskyembed/assets/**'
- 'bskyogcard/src/assets/**'
- 'bskyweb/static/**'
- 'bskyweb/embedr-static/**'
- 'modules/BlueskyClip/Images.xcassets/**'
- 'scripts/check-asset-notices.mjs'
- '.github/workflows/asset-notices.yml'
concurrency:
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'