Skip to content

Commit 2553a76

Browse files
committed
harden remind-docs-and-tests workflow
- SHA-pin wow-actions/auto-comment@v1 - deny GITHUB_TOKEN by default, grant pull-requests:write to the comment job Made-with: Cursor
1 parent 04d8fde commit 2553a76

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/remind-docs-and-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ name: Remind docs and tests
22
on:
33
pull_request_target:
44
branches: ["master"]
5+
permissions: {}
56
jobs:
67
run:
78
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
11+
pull-requests: write
812
steps:
9-
- uses: wow-actions/auto-comment@v1
13+
- uses: wow-actions/auto-comment@2fc064c21cfb2505de3c5c10e1473b8eb7beca1a # v1
1014
with:
1115
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1216
pullRequestOpened: |

0 commit comments

Comments
 (0)