Skip to content

Commit f809f51

Browse files
authored
harden remind-docs-and-tests workflow (#994)
* 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 * match elementary-data/elementary#2210 SHA-pin comment convention
1 parent 04d8fde commit f809f51

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@ 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+
# wow-actions/auto-comment v1.1.2, checked 2026-04-26.
14+
- uses: wow-actions/auto-comment@2fc064c21cfb2505de3c5c10e1473b8eb7beca1a
1015
with:
1116
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1217
pullRequestOpened: |

0 commit comments

Comments
 (0)