Skip to content

Commit

Permalink
Update generator_generic_slsa3.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
daoauth committed Feb 9, 2025
1 parent 979fd2d commit b4d3969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generator_generic_slsa3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
github_workspace_realpath=$(realpath -e "${GITHUB_WORKSPACE}")
echo "GitHub workspace \"${GITHUB_WORKSPACE}\" resolved to \"${github_workspace_realpath}\""
echo "Checking directory \"${move_realpath}\" is a sub-directory of \"${github_workspace_realpath}\""
# 패턴 매칭을 위해 glob 패턴을 변수에 할당 (따옴표 없이 사용)
# shellcheck disable=SC2053
pattern="${github_workspace_realpath}/*"
if [[ "${move_realpath}" != "${github_workspace_realpath}" && "${move_realpath}" != $pattern ]]; then
echo "\"${{ inputs.move-directory }}\" is not a sub-directory of \"${GITHUB_WORKSPACE}\""
Expand Down

0 comments on commit b4d3969

Please sign in to comment.