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 4abfc00 commit e2ed579Copy full SHA for e2ed579
.github/workflows/autodl.yml
@@ -20,13 +20,20 @@ jobs:
20
with:
21
input_file: lib/colors.json
22
- name: Config Git
23
- id: gitconf
24
run: |
25
git config --local user.name "Colour fetch"
26
git config --local user.email "enquiry@rk0cc.xyz"
+ - name: Check differences
27
+ id: difference
28
+ run: git diff --quite
29
+ continue-on-error: true
30
+ - name: Add and commit
31
+ if: steps.difference.outcome == 'failure'
32
+ run: |
33
git add .
34
git commit -m "Update colour backup data"
35
- name: Push
36
37
uses: ad-m/github-push-action@master
38
39
github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments