From b954be19ca57916fe519d00d9bcdef6dfc1a72ea Mon Sep 17 00:00:00 2001 From: Ntege Daniel Date: Sun, 12 Jul 2026 18:47:19 +0300 Subject: [PATCH] refactor(workflow): Update comments for clarity and remove unnecessary checkout ref Signed-off-by: Ntege Daniel --- .github/workflows/bot-pr-missing-linked-issue.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bot-pr-missing-linked-issue.yml b/.github/workflows/bot-pr-missing-linked-issue.yml index 4df0b2ccd..d65027bfe 100644 --- a/.github/workflows/bot-pr-missing-linked-issue.yml +++ b/.github/workflows/bot-pr-missing-linked-issue.yml @@ -1,6 +1,6 @@ # This workflow checks PRs for missing linked issues and posts reminder comments when needed. -# Uses pull_request_target to enable write permissions for fork PRs while checking out -# 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. name: PR Missing Linked Issue Reminder on: @@ -39,8 +39,6 @@ jobs: - name: Checkout repository uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - with: - ref: ${{ github.event.pull_request.base.sha || github.sha }} - name: Check PR for missing linked issue env: