Skip to content

Commit bbde60d

Browse files
authored
Update extract-classnames.yml
1 parent 2622e03 commit bbde60d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/extract-classnames.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ on:
66
- "features/**.js"
77
workflow_dispatch:
88

9-
permissions:
10-
contents: write
11-
pull-requests: write
9+
permissions: {}
1210

1311
jobs:
1412
extract:
@@ -26,7 +24,7 @@ jobs:
2624
- name: Run extraction script
2725
run: node .github/scripts/extract-classnames.js
2826

29-
- name: Check for changes in class-names.json
27+
- name: Check for changes
3028
id: check_changes
3129
run: |
3230
if git diff --quiet --exit-code class-names.json; then
@@ -39,9 +37,10 @@ jobs:
3937
if: steps.check_changes.outputs.changed == 'true'
4038
uses: peter-evans/create-pull-request@v6
4139
with:
40+
token: ${{ secrets.BOT_TOKEN }}
4241
commit-message: "Update class-names.json"
4342
branch: update-class-names
4443
title: "Update class names"
45-
body: "Automated update of class-names.json"
44+
body: "Automated update of class-names.json to keep track of ScratchTools class names across all features."
4645
labels: automated
4746
delete-branch: true

0 commit comments

Comments
 (0)