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 5090d54 commit 2f99f3aCopy full SHA for 2f99f3a
.github/workflows/sync.yml
@@ -21,18 +21,17 @@ jobs:
21
node-version: "12"
22
23
- name: Update tooling versions
24
- run: |
25
- node ./dist/update.js
26
-
27
- - name: Commit files
28
run: |
29
git config --local pull.ff only
30
git config --local user.email "[email protected]"
31
git config --local user.name "GitHub Action"
+
32
git pull
33
- git commit -m "Sync repository with latest tooling" -a
+ node ./dist/update.js
+ git diff --quiet || git commit -a -m "Sync repository with latest tooling."
34
35
- name: Push changes
36
uses: ad-m/github-push-action@master
37
with:
+ branch: ${{ github.ref }}
38
github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments