We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec47567 commit 616101fCopy full SHA for 616101f
.github/workflows/Schedule.yml
@@ -23,11 +23,20 @@ jobs:
23
24
- name: Run Python Script
25
run: python worker.py
26
-
27
- - name: Commit Changes
+
+ - name: Check if there are any changes
28
+ id: verify_diff
29
+ run: |
30
+ git diff --quiet plugins.json || echo "changed=true" >> $GITHUB_OUTPUT
31
32
+ - name: Commit
33
+ if: steps.verify_diff.outputs.changed == 'true'
34
run: |
35
git config --global user.name "GitHub Actions"
36
git config --global user.email "[email protected]"
37
git add plugins.json
38
git commit -m "Update plugins.json"
- git push
39
40
+ - name: Push
41
42
+ run: git push
0 commit comments