Skip to content

Commit eb3f3aa

Browse files
Fix workflow
1 parent a66f440 commit eb3f3aa

1 file changed

Lines changed: 7 additions & 13 deletions

File tree

.github/workflows/webplat-relnotes.yaml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,25 @@ on:
99
# once a day
1010
- cron: '0 0 * * *'
1111

12-
permissions:
13-
contents: write
14-
pull-requests: write
15-
1612
jobs:
1713
generate:
18-
name: Generate the beta web platform release notes
19-
runs-on: ubuntu
14+
runs-on: ubuntu-latest
15+
2016
steps:
2117
- name: Checkout repo
2218
uses: actions/checkout@v2
19+
2320
- name: Install dependencies
24-
id: install
2521
run: |
2622
cd scripts
2723
npm install
28-
- name: Run script
29-
id: generate
30-
# This might create a new file, or not, depending on whether it's time
31-
# to generate the release notes.
24+
25+
- name: Generate release notes
3226
run: |
3327
cd scripts
3428
node web-platform-release-notes.js
35-
- name: Commit the changes if any
36-
id: commit
29+
30+
- name: Commit changes
3731
run: |
3832
git checkout -b web-platform-release-notes
3933
git config --local user.email "${{ github.actor }}@users.noreply.github.com"

0 commit comments

Comments
 (0)