Skip to content

Commit

Permalink
ci: skip jobs when pr title is mark skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
Pat Losoponkul committed May 22, 2024
1 parent 32b33ab commit bf135ce
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
run-integration-tests:
name: "Run integration tests"
runs-on: ubuntu-latest
if: |
${{ !contains(github.event.pull_request.title, '[skip ci]') }}
env:
REPORTS_DIR: "tests/integration-tests/target/site/serenity"
steps:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:

runs-on: ubuntu-latest

if: |
${{ !contains(github.event.pull_request.title, '[skip ci]') }}
permissions:
contents: write
issues: write
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/performance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
run-e2e-tests:
name: "Run performance tests"
runs-on: ubuntu-latest
if: |
${{ !contains(github.event.pull_request.title, '[skip ci]') }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
build-and-unit-tests:
name: "Build and unit tests"
runs-on: self-hosted
if: |
${{ !contains(github.event.pull_request.title, 'skip ci') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
container:
Expand Down

0 comments on commit bf135ce

Please sign in to comment.