Skip to content

Commit 483bb25

Browse files
committed
Fix RunScripts workflow
1 parent 3c0ae32 commit 483bb25

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/run-scripts.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Commit changes
4646
shell: pwsh
4747
run: |
48-
git diff platform/third-party-license-data.include.md > changes.patch
48+
git diff > changes.patch
4949
$changes = Get-Item changes.patch
5050
5151
Write-Output "Diff size is $($changes.Length) bytes"
@@ -60,7 +60,8 @@ jobs:
6060
}
6161
6262
Write-Output "Staging changes"
63-
git add platform/third-party-license-data.include.md
63+
git add --all
64+
git restore --staged changes.patch
6465
6566
Write-Output "Committing changes"
6667
git commit -m "Updates from running scripts in the 'tools' directory"

0 commit comments

Comments
 (0)