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 eca5bf8 commit 3301e62Copy full SHA for 3301e62
.github/workflows/compile_code_and_modules.yml
@@ -25,7 +25,13 @@ jobs:
25
- name: Build
26
run: npm run build
27
28
- - name: commit changes
+ - name: Check for changes
29
+ id: git-check
30
+ run: |
31
+ git diff --quiet || echo "::set-output name=changes::true"
32
+
33
+ - name: Commit changes
34
+ if: steps.git-check.outputs.changes == 'true'
35
run: |
36
git config --global user.email "github-actions[bot]@users.noreply.github.com"
37
git config --global user.name "github-actions[bot]"
0 commit comments