We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1de57e3 commit 89cb9abCopy full SHA for 89cb9ab
1 file changed
.github/workflows/bot-pr-missing-linked-issue.yml
@@ -1,6 +1,6 @@
1
# This workflow checks PRs for missing linked issues and posts reminder comments when needed.
2
-# Uses pull_request_target to enable write permissions for fork PRs while checking out
3
-# only the base branch code (ref: main) to avoid executing untrusted fork code.
+# Uses pull_request_target to enable write permissions for fork PRs while relying
+# on the trusted base-branch checkout to avoid executing untrusted fork code.
4
name: PR Missing Linked Issue Reminder
5
6
on:
@@ -39,8 +39,6 @@ jobs:
39
40
- name: Checkout repository
41
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
42
- with:
43
- ref: ${{ github.event.pull_request.base.sha || github.sha }}
44
45
- name: Check PR for missing linked issue
46
env:
0 commit comments