Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8369af3

Browse files
committed
fix: address zizmor and shellcheck linting issues
- Add persist-credentials: false to checkout action to prevent credential leaks- Quote GITHUB_OUTPUT variable to fix shellcheck warningsAddresses artipacked and shellcheck findings from CI linter.
1 parentfcebf9a commit8369af3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎.github/workflows/docs-preview-comment.yaml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
with:
2727
ref:${{ github.event.pull_request.head.sha }}
2828
fetch-depth:0
29+
persist-credentials:false
2930

3031
-name:Get changed docs files
3132
id:changed-files
@@ -39,11 +40,11 @@ jobs:
3940
4041
if [ -z "$CHANGED_DOCS" ]; then
4142
echo "No markdown files changed in docs/"
42-
echo "has_changes=false" >> $GITHUB_OUTPUT
43+
echo "has_changes=false" >>"$GITHUB_OUTPUT"
4344
exit 0
4445
fi
4546
46-
echo "has_changes=true" >> $GITHUB_OUTPUT
47+
echo "has_changes=true" >>"$GITHUB_OUTPUT"
4748
4849
# URI-encode the branch name
4950
ENCODED_BRANCH=$(echo -n "$HEAD_REF" | jq -sRr @uri)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp