aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/update-documentation.yml
diff options
context:
space:
mode:
authorJosh Spicer <joshspicer@github.com>2022-08-19 21:14:03 +0300
committerGitHub <noreply@github.com>2022-08-19 21:14:03 +0300
commit97c1abf39190db4b5d74065ce5d658e6e525e8a4 (patch)
treeb6d766ab146ba78d49a9b040454d589a1eb48364 /.github/workflows/update-documentation.yml
parent023e9c46fff8e7d4e54e96fe2324ec700f31a7f6 (diff)
Skip CI on Documentation PRs (#103)
* no-ci * [skip ci] * attempt to not run CI on documentation updates * remove old if statements in CI * cleaner names [skip ci]
Diffstat (limited to '.github/workflows/update-documentation.yml')
-rw-r--r--.github/workflows/update-documentation.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update-documentation.yml
index 7c3e160..711c492 100644
--- a/.github/workflows/update-documentation.yml
+++ b/.github/workflows/update-documentation.yml
@@ -8,7 +8,7 @@ on:
jobs:
generate:
runs-on: ubuntu-latest
- if: "github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'no-ci') && !contains(github.event.head_commit.message, 'CI ignore')"
+ if: "github.ref == 'refs/heads/main'"
steps:
- uses: actions/checkout@v2
@@ -37,7 +37,7 @@ jobs:
# Add / update and commit
git add */**/README.md
- git commit -m 'Automated documentation update' || export NO_UPDATES=true
+ git commit -m 'Automated documentation update [skip ci]' || export NO_UPDATES=true
# Push
if [ "$NO_UPDATES" != "true" ] ; then