From ca1a334e8b07e3a8e0d8984418a5a58dd9f40eac Mon Sep 17 00:00:00 2001 From: Josh Spicer Date: Fri, 3 Jun 2022 14:54:31 +0000 Subject: Add CI ignore --- .github/workflows/linter-automated.yaml | 3 ++- .github/workflows/linter-manual.yaml | 2 +- .github/workflows/release-v1.yaml | 2 +- .github/workflows/release.yaml | 2 +- .github/workflows/test-all.yaml | 3 ++- .github/workflows/test-manual.yaml | 2 +- .github/workflows/test-pr.yaml | 3 ++- .github/workflows/test-scenarios.yaml | 1 + 8 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/linter-automated.yaml b/.github/workflows/linter-automated.yaml index 7ff4015..6a1ac75 100644 --- a/.github/workflows/linter-automated.yaml +++ b/.github/workflows/linter-automated.yaml @@ -1,4 +1,4 @@ -name: "Shell script linter" +name: "(CI) Shell Script Linter" on: push: branches: @@ -8,6 +8,7 @@ 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 79d88d0..c2673be 100644 --- a/.github/workflows/linter-manual.yaml +++ b/.github/workflows/linter-manual.yaml @@ -1,4 +1,4 @@ -name: "Shell script linter (manual)" +name: "(Manual) Shell Script Linter" on: workflow_dispatch: inputs: diff --git a/.github/workflows/release-v1.yaml b/.github/workflows/release-v1.yaml index 0f0dd62..cc5e42a 100644 --- a/.github/workflows/release-v1.yaml +++ b/.github/workflows/release-v1.yaml @@ -1,4 +1,4 @@ -name: "Package dev container features (v1)" +name: "(Release-v1) Package dev container features (v1)" on: push: tags: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 33b062c..79ee6b8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,4 +1,4 @@ -name: "Release dev container features (v2)" +name: "(Release) Release dev container features (v2)" on: push: tags: diff --git a/.github/workflows/test-all.yaml b/.github/workflows/test-all.yaml index ab6b7e2..31a664f 100644 --- a/.github/workflows/test-all.yaml +++ b/.github/workflows/test-all.yaml @@ -1,4 +1,4 @@ -name: "Test Features (CI)" +name: "(CI) Test Features" on: push: branches: @@ -8,6 +8,7 @@ on: jobs: test: runs-on: ubuntu-latest + if: "!contains(github.event.head_commit.message, 'no-ci') && !contains(github.event.head_commit.message, 'CI ignore')" continue-on-error: true strategy: matrix: diff --git a/.github/workflows/test-manual.yaml b/.github/workflows/test-manual.yaml index d532ade..0306ac9 100644 --- a/.github/workflows/test-manual.yaml +++ b/.github/workflows/test-manual.yaml @@ -1,4 +1,4 @@ -name: "Test Features (Manual)" +name: "(Manual) Test Features" on: workflow_dispatch: inputs: diff --git a/.github/workflows/test-pr.yaml b/.github/workflows/test-pr.yaml index cb55100..22c04ef 100644 --- a/.github/workflows/test-pr.yaml +++ b/.github/workflows/test-pr.yaml @@ -1,10 +1,11 @@ -name: "Test updated features (PR)" +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')" outputs: features: ${{ steps.filter.outputs.changes }} steps: diff --git a/.github/workflows/test-scenarios.yaml b/.github/workflows/test-scenarios.yaml index 5393449..dbb3c1a 100644 --- a/.github/workflows/test-scenarios.yaml +++ b/.github/workflows/test-scenarios.yaml @@ -9,6 +9,7 @@ on: jobs: scenarios: 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 - name: " Running predefined test scenarios" -- cgit v1.2.3