Skip to content

Commit 00e8805

Browse files
Check if recent web platform release notes are correct (#3712)
* check for release notes correctness * Apply suggestions from code review Co-authored-by: Michael Hoffman <45407486+mikehoffms@users.noreply.github.com> * Fix github actions API import --------- Co-authored-by: Michael Hoffman <45407486+mikehoffms@users.noreply.github.com>
1 parent 70be904 commit 00e8805

5 files changed

Lines changed: 470 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Compare Release Notes
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 0 * * *' # Daily at midnight UTC
7+
8+
jobs:
9+
compare:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: '20'
17+
18+
- name: Install dependencies
19+
working-directory: ./scripts
20+
run: npm install
21+
22+
- name: Run comparison
23+
working-directory: ./scripts
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
CREATE_ISSUE: 'true'
27+
run: node compare-release-notes.js

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ _themes*/
1111
.openpublishing.buildcore.ps1
1212
.DS_Store
1313
node_modules
14+
.env
15+
16+
release-notes-comparison-report.md

0 commit comments

Comments
 (0)