Skip to content

Commit fab4907

Browse files
committed
fix: wrong sync files working directory
1 parent f288139 commit fab4907

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sync-files.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
4343
- name: Detect sync updates
4444
id: updates
45+
working-directory: target
4546
run: |
4647
if output=$(git status --porcelain) && [ -z "$output" ]; then
4748
echo "updated=true" >> "$GITHUB_OUTPUT"
@@ -52,10 +53,9 @@ jobs:
5253
- name: Output short commit SHA
5354
if: steps.updates.outputs.updated == 'true'
5455
id: sha
56+
working-directory: target
5557
run: |
56-
pushd target
5758
echo "short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
58-
popd
5959
6060
- name: Create Pull Request with applied automatic fixes
6161
if: steps.updates.outputs.updated == 'true'

0 commit comments

Comments
 (0)