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 63d6d97 commit a9591daCopy full SHA for a9591da
.github/workflows/pre-commit.yaml
@@ -26,7 +26,7 @@ jobs:
26
BASE_REF: ${{ github.base_ref }}
27
SHA: ${{ github.sha }}
28
run: |
29
- export DIFF=$(git diff --name-only origin/$BASE_REF $SHA)
+ export DIFF=$(git diff --name-only "origin/$BASE_REF" "$SHA")
30
echo "Diff between $BASE_REF and $SHA"
31
echo "files=$( echo "$DIFF" | xargs echo )" >> $GITHUB_OUTPUT
32
@@ -51,7 +51,7 @@ jobs:
51
)"
52
> hadolint
53
&& chmod +x hadolint && sudo mv hadolint /usr/bin/
54
- # Needed for pre-commit fix push to succeed
+ # Needed for pre-commit fix push to succeed
55
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
56
with:
57
fetch-depth: 0
0 commit comments