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 d4fcbf9 commit 3e71b4aCopy full SHA for 3e71b4a
1 file changed
.github/workflows/UpdateDirectory.yml
@@ -19,9 +19,16 @@ jobs:
19
- name: 🗄️ Create Directory from JS files
20
run: node .github/workflows/UpdateDirectory.mjs
21
22
- - name: 🤓 Commit & push new Directory (if needed)
+ - name: Configure Github Action
23
run: |
24
git config --global user.name github-actions
25
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
26
- git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
27
- .github/workflows/CommitAndPushDirectory.sh
+
+ - name: 🤓 Commit & push new Directory (if needed)
28
+ run: |
29
+ if [[ `git status --porcelain` ]]; then
30
+ git commit -am "Updated Documentation in README.md"
31
+ git push
32
+ else
33
+ echo "NO CHANGES DETECTED"
34
+ fi
0 commit comments