Skip to content

Commit d7a5f94

Browse files
maresbricardoV94
authored andcommitted
Add exceptions for audited "dangerous triggers"
1 parent 0c044c0 commit d7a5f94

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/pr-auto-label.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: "Pull Request Labeler"
22
on:
3-
- pull_request_target
3+
# The labeler doesn't execute any contributed code, so it should be fairly safe.
4+
- pull_request_target # zizmor: ignore[dangerous-triggers]
45

56
jobs:
67
sync:

.github/workflows/rtd-link-preview.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: Read the Docs Pull Request Preview
22
on:
3-
pull_request_target:
3+
# See <https://github.com/readthedocs/actions/issues/45>
4+
pull_request_target: # zizmor: ignore[dangerous-triggers]
45
types:
56
- opened
67

7-
permissions:
8-
pull-requests: write
9-
108
jobs:
119
documentation-links:
1210
runs-on: ubuntu-latest
11+
permissions:
12+
pull-requests: write
1313
steps:
1414
- uses: readthedocs/actions/preview@v1
1515
with:

0 commit comments

Comments
 (0)