Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/actions/run-change-detection/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,17 @@ outputs:
runs:
using: "composite"
steps:
# This action is never called from a pull_request_target workflow;
# all callers use pull_request, issue_comment, workflow_dispatch, or
# workflow_call triggers. Even if it were called from
# pull_request_target, the empty sparse checkout below ensures no
# files from the ref are materialized on disk — only git objects are
# fetched — so no code from the PR is ever executed.
- name: Check out source code
# codeql[actions/untrusted-checkout/medium]
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
path: ${{ inputs.checkout-path }}
# This action is never called from a pull_request_target workflow; all callers
# use pull_request, issue_comment, workflow_dispatch, or workflow_call triggers.
# Even if it were called from pull_request_target, the empty sparse checkout
# below ensures no files from the ref are materialized on disk — only git
# objects are fetched — so no code from the PR is ever executed.
# codeql[actions/untrusted-checkout/medium]
ref: ${{ inputs.ref }}
repository: ${{ inputs.repo }}
persist-credentials: false
Expand Down
Loading