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