summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2024-03-16 09:53:39 +0100
committernicolargo <nicolas@nicolargo.com>2024-03-16 09:53:39 +0100
commitca97eeefe2790082892eab9c9ae798a05e53d652 (patch)
treea5a2cfbcf25a99759af3eafa69500946586611ed
parentc6861a472845cead4e4edd2a365dd74e693af98b (diff)
Change workflow to disable some jobs on Pull Request
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9116e0fd..c01fbac5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,13 +15,15 @@ jobs:
uses: ./.github/workflows/test.yml
needs: [quality]
webui:
- if: ${{ always() }}
+ if: github.event_name != 'pull_request'
uses: ./.github/workflows/webui.yml
needs: [quality, test]
cyber:
+ if: github.event_name != 'pull_request'
uses: ./.github/workflows/cyber.yml
needs: [quality, test, webui]
build:
+ if: github.event_name != 'pull_request'
uses: ./.github/workflows/build.yml
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}