aboutsummaryrefslogtreecommitdiff
path: root/.github
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
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')
-rw-r--r--.github/workflows/linter-automated.yaml3
-rw-r--r--.github/workflows/linter-manual.yaml2
-rw-r--r--.github/workflows/test-all.yaml3
-rw-r--r--.github/workflows/test-manual.yaml2
-rw-r--r--.github/workflows/test-pr.yaml3
-rw-r--r--.github/workflows/test-scenarios.yaml1
-rw-r--r--.github/workflows/update-documentation.yml4
7 files changed, 7 insertions, 11 deletions
diff --git a/.github/workflows/linter-automated.yaml b/.github/workflows/linter-automated.yaml
index 807be4e..0c3420a 100644
--- a/.github/workflows/linter-automated.yaml
+++ b/.github/workflows/linter-automated.yaml
@@ -1,4 +1,4 @@
-name: "(CI) Shell Script Linter"
+name: "CI - Shell Script Linter"
on:
push:
branches:
@@ -8,7 +8,6 @@ on:
jobs:
shellchecker:
runs-on: ubuntu-latest
- if: "!contains(github.event.head_commit.message, 'no-ci') && !contains(github.event.head_commit.message, 'CI ignore')"
steps:
- uses: actions/checkout@v2
diff --git a/.github/workflows/linter-manual.yaml b/.github/workflows/linter-manual.yaml
index d3b3a7f..1a80893 100644
--- a/.github/workflows/linter-manual.yaml
+++ b/.github/workflows/linter-manual.yaml
@@ -1,4 +1,4 @@
-name: "(Manual) Shell Script Linter"
+name: "Manual - Shell Script Linter"
on:
workflow_dispatch:
inputs:
diff --git a/.github/workflows/test-all.yaml b/.github/workflows/test-all.yaml
index f123cd8..d04c534 100644
--- a/.github/workflows/test-all.yaml
+++ b/.github/workflows/test-all.yaml
@@ -1,4 +1,4 @@
-name: "(CI) Test Features"
+name: "CI - Test Features"
on:
push:
branches:
@@ -8,7 +8,6 @@ on:
jobs:
test:
runs-on: ubuntu-latest
- if: "!contains(github.event.head_commit.message, 'no-ci') && !contains(github.event.head_commit.message, 'CI ignore') && !contains(github.event.head_commit.message, 'Automated documentation update')"
continue-on-error: true
strategy:
matrix:
diff --git a/.github/workflows/test-manual.yaml b/.github/workflows/test-manual.yaml
index eba6d99..f1ac2d4 100644
--- a/.github/workflows/test-manual.yaml
+++ b/.github/workflows/test-manual.yaml
@@ -1,4 +1,4 @@
-name: "(Manual) Test Features"
+name: "Manual - Test Features"
on:
workflow_dispatch:
inputs:
diff --git a/.github/workflows/test-pr.yaml b/.github/workflows/test-pr.yaml
index fce27c5..444422a 100644
--- a/.github/workflows/test-pr.yaml
+++ b/.github/workflows/test-pr.yaml
@@ -1,11 +1,10 @@
-name: "(PR) Test Updated Features"
+name: "PR -Test Updated Features"
on:
pull_request:
jobs:
detect-changes:
runs-on: ubuntu-latest
- if: "!contains(github.event.head_commit.message, 'no-ci') && !contains(github.event.head_commit.message, 'CI ignore') && !contains(github.event.head_commit.message, 'Automated documentation update')"
outputs:
features: ${{ steps.filter.outputs.changes }}
steps:
diff --git a/.github/workflows/test-scenarios.yaml b/.github/workflows/test-scenarios.yaml
index ba8a6c0..1fc90d5 100644
--- a/.github/workflows/test-scenarios.yaml
+++ b/.github/workflows/test-scenarios.yaml
@@ -9,7 +9,6 @@ on:
jobs:
scenarios:
runs-on: ubuntu-latest
- if: "!contains(github.event.head_commit.message, 'no-ci') && !contains(github.event.head_commit.message, 'CI ignore') && !contains(github.event.head_commit.message, 'Automated documentation update')"
steps:
- uses: actions/checkout@v2
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