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 e78d6a8 commit 2518ea1Copy full SHA for 2518ea1
.github/workflows/run-markdownsnippets.yml
@@ -1,6 +1,10 @@
1
name: MarkdownSnippets
2
on:
3
- workflow_dispatch:
+ push:
4
+ branches:
5
+ - '**'
6
+ tags-ignore:
7
+ - '*.*'
8
jobs:
9
documentation:
10
name: Process documentation
@@ -20,8 +24,5 @@ jobs:
20
24
run: |
21
25
git config --local user.email "[email protected]"
22
26
git config --local user.name "GitHub Action"
23
- git commit -m "MarkdownSnippets documentation changes" -a || echo "nothing to commit"
- remote="https://${GITHUB_ACTOR}:${{secrets.GITHUB_TOKEN}}@github.com/${GITHUB_REPOSITORY}.git"
- branch="${GITHUB_REF:11}"
- git push "${remote}" ${branch} || echo "nothing to push"
27
- shell: bash
+ git add .
28
+ git diff-index --quiet HEAD || git commit -m "docs: update markdown snippets [skip ci]" && git push
0 commit comments