Skip to content

Commit 6a001fb

Browse files
committed
Fix patch command.
1 parent c6516eb commit 6a001fb

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/commit-built-file-changes.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Commits missed changes to built files back to pull request branches.
2-
name: Commit Built File Changes
2+
name: Commit Built File Changes (PRs)
33

44
on:
55
workflow_run:
@@ -91,9 +91,6 @@ jobs:
9191
echo "exists=false" >> "$GITHUB_OUTPUT"
9292
fi
9393
94-
- name: list directory
95-
run: ls -la
96-
9794
- name: Unzip the artifact containing the PR data
9895
if: ${{ steps.artifact-check.outputs.exists == 'true' }}
9996
run: unzip pr-data.zip
@@ -143,9 +140,12 @@ jobs:
143140
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
144141
token: ${{ env.ACCESS_TOKEN }}
145142

143+
- name: list directory
144+
run: ls -la
145+
146146
- name: Apply patch
147147
if: ${{ steps.artifact-check.outputs.exists == 'true' }}
148-
run: git apply ../pr-data/patch.diff
148+
run: git apply ./pr-data/patch.diff
149149

150150
- name: Display changes to versioned files
151151
if: ${{ steps.artifact-check.outputs.exists == 'true' }}

0 commit comments

Comments
 (0)