| 1 | name: Release notes |
| 2 | |
| 3 | on: |
| 4 | pull_request: |
| 5 | paths: |
| 6 | - "release-notes/**" |
| 7 | - "scripts/generate-release-notes.mjs" |
| 8 | - "scripts/release-notes*.mjs" |
| 9 | - "site/src/pages/changelog/**" |
| 10 | - "site/src/components/ChangelogPage.astro" |
| 11 | - "site/src/data/releases.ts" |
| 12 | - "site/src/styles/changelog.css" |
| 13 | - "desktop/frontend/src/App.tsx" |
| 14 | - "desktop/frontend/src/components/SettingsPanel.tsx" |
| 15 | - "desktop/frontend/src/components/UpdateBanner.tsx" |
| 16 | |
| 17 | permissions: |
| 18 | contents: read |
| 19 | |
| 20 | jobs: |
| 21 | validate: |
| 22 | runs-on: ubuntu-latest |
| 23 | steps: |
| 24 | - uses: actions/checkout@v7 |
| 25 | - uses: actions/setup-node@v7 |
| 26 | with: |
| 27 | node-version: "22" |
| 28 | - run: node scripts/release-notes.mjs validate |
| 29 | - run: node --test scripts/release-notes.test.mjs |
| 30 |