From 6874582ed40900f631e70ecb45a4ae8a97450052 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Mon, 6 Feb 2023 12:25:27 +0100 Subject: [PATCH] GitHub: allow skipping itest and changelog check with labels --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 07d92f0d8..49decf8d5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -188,6 +188,7 @@ jobs: integration-test: name: run itests runs-on: ubuntu-latest + if: '!contains(github.event.pull_request.labels.*.name, ''no-itest'')' strategy: # Allow other tests in the matrix to continue if one fails. fail-fast: false @@ -243,6 +244,7 @@ jobs: windows-integration-test: name: run windows itest runs-on: windows-latest + if: '!contains(github.event.pull_request.labels.*.name, ''no-itest'')' steps: - name: git checkout uses: actions/checkout@v3 @@ -273,6 +275,7 @@ jobs: new-integration-test: name: run new itests runs-on: ubuntu-latest + if: '!contains(github.event.pull_request.labels.*.name, ''no-itest'')' strategy: # Allow other tests in the matrix to continue if one fails. fail-fast: false @@ -328,6 +331,7 @@ jobs: new-windows-integration-test: name: run new windows itest runs-on: windows-latest + if: '!contains(github.event.pull_request.labels.*.name, ''no-itest'')' steps: - name: git checkout uses: actions/checkout@v3 @@ -381,6 +385,7 @@ jobs: milestone-check: name: check release notes updated runs-on: ubuntu-latest + if: '!contains(github.event.pull_request.labels.*.name, ''no-changelog'')' steps: - name: git checkout uses: actions/checkout@v3