We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34951a9 commit 0d1c1f1Copy full SHA for 0d1c1f1
1 file changed
.github/workflows/build_dotnet.yml
@@ -56,8 +56,8 @@ jobs:
56
git config user.name "github-actions[bot]"
57
git config user.email "github-actions[bot]@users.noreply.github.com"
58
git add src/PluginRegistry/PluginHashGenerator.Generated.cs
59
- $hasChanges = git diff --staged --quiet; $LASTEXITCODE -ne 0
60
- if ($hasChanges) {
+ git diff --staged --quiet
+ if ($LASTEXITCODE -ne 0) {
61
git commit -m "chore: update plugin hashes [skip ci]"
62
git push
63
} else {
0 commit comments