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:
@@ -7,39 +7,13 @@ name: Asset notices
|
|||||||
# updated, the notice silently stops meaning anything. This job makes that visible in review
|
# updated, the notice silently stops meaning anything. This job makes that visible in review
|
||||||
# rather than a year later.
|
# rather than a year later.
|
||||||
#
|
#
|
||||||
# The two paths lists below are duplicated on purpose — GitHub Actions does not support YAML
|
# No paths filter: the notices also reference files under src/ (e.g. the inline logo components),
|
||||||
# anchors. Keep them in sync.
|
# so any rename anywhere in the tree can rot a notice. The check runs in under a second.
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
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:
|
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:
|
concurrency:
|
||||||
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'
|
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ supports it.
|
|||||||
- `bskyweb/static/favicon.png`, `favicon-16x16.png`, `favicon-32x32.png`
|
- `bskyweb/static/favicon.png`, `favicon-16x16.png`, `favicon-32x32.png`
|
||||||
- `bskyweb/static/apple-touch-icon.png`
|
- `bskyweb/static/apple-touch-icon.png`
|
||||||
- `bskyweb/static/safari-pinned-tab.svg`
|
- `bskyweb/static/safari-pinned-tab.svg`
|
||||||
- `bskyweb/static/social-card-default.png`, `social-card-default-gradient.png`
|
- `bskyweb/static/social-card-default.png`, `bskyweb/static/social-card-default-gradient.png`
|
||||||
- `bskyweb/embedr-static/favicon.png`, `favicon-16x16.png`, `favicon-32x32.png`
|
- `bskyweb/embedr-static/favicon.png`, `favicon-16x16.png`, `favicon-32x32.png`
|
||||||
- `modules/BlueskyClip/Images.xcassets/AppIcon.appiconset/`
|
- `modules/BlueskyClip/Images.xcassets/AppIcon.appiconset/`
|
||||||
- Inline vector path data in `src/view/icons/Logo.tsx` and `src/view/icons/Logotype.tsx`
|
- Inline vector path data in `src/view/icons/Logo.tsx` and `src/view/icons/Logotype.tsx`
|
||||||
|
|||||||
Reference in New Issue
Block a user