11name : CI
22
33on :
4- workflow_dispatch :
5- inputs :
6- test-scope :
7- description : Select test lanes to run
8- required : false
9- default : all
10- type : choice
11- options :
12- - all
13- - fips
144 release :
155 types : [published]
166 pull_request :
@@ -474,7 +464,7 @@ jobs:
474464 name : 📦 Track Image Sizes
475465 needs : [build-gh-docker-publish, release-versions]
476466 runs-on : ubuntu-24.04-arm
477- if : github.event_name != 'workflow_dispatch' && (github.event_name == 'pull_request' || github.ref == 'refs/heads/develop')
467+ if : github.event_name == 'pull_request' || github.ref == 'refs/heads/develop'
478468 permissions :
479469 pull-requests : write
480470 contents : write
@@ -506,7 +496,6 @@ jobs:
506496 test-storybook :
507497 name : 🔨 Test Storybook
508498 needs : [packages-build, release-versions]
509- if : ${{ github.event_name != 'workflow_dispatch' || inputs.test-scope != 'fips' }}
510499
511500 uses : ./.github/workflows/ci-test-storybook.yml
512501 with :
@@ -518,7 +507,6 @@ jobs:
518507 test-unit :
519508 name : 🔨 Test Unit
520509 needs : [packages-build, release-versions]
521- if : ${{ github.event_name != 'workflow_dispatch' || inputs.test-scope != 'fips' }}
522510
523511 uses : ./.github/workflows/ci-test-unit.yml
524512 with :
@@ -531,7 +519,6 @@ jobs:
531519 test-api :
532520 name : 🔨 Test API (CE)
533521 needs : [checks, build-gh-docker-publish, release-versions]
534- if : ${{ github.event_name != 'workflow_dispatch' || inputs.test-scope != 'fips' }}
535522
536523 uses : ./.github/workflows/ci-test-e2e.yml
537524 with :
@@ -548,7 +535,6 @@ jobs:
548535 test-api-livechat :
549536 name : 🔨 Test API Livechat (CE)
550537 needs : [checks, build-gh-docker-publish, release-versions]
551- if : ${{ github.event_name != 'workflow_dispatch' || inputs.test-scope != 'fips' }}
552538
553539 uses : ./.github/workflows/ci-test-e2e.yml
554540 with :
@@ -565,7 +551,6 @@ jobs:
565551 test-ui :
566552 name : 🔨 Test UI (CE)
567553 needs : [checks, build-gh-docker-publish, release-versions]
568- if : ${{ github.event_name != 'workflow_dispatch' || inputs.test-scope != 'fips' }}
569554
570555 uses : ./.github/workflows/ci-test-e2e.yml
571556 with :
@@ -591,7 +576,6 @@ jobs:
591576 test-api-ee :
592577 name : 🔨 Test API (EE)
593578 needs : [checks, build-gh-docker-publish, release-versions]
594- if : ${{ github.event_name != 'workflow_dispatch' || inputs.test-scope != 'fips' }}
595579
596580 uses : ./.github/workflows/ci-test-e2e.yml
597581 with :
@@ -612,7 +596,6 @@ jobs:
612596 test-api-livechat-ee :
613597 name : 🔨 Test API Livechat (EE)
614598 needs : [checks, build-gh-docker-publish, release-versions]
615- if : ${{ github.event_name != 'workflow_dispatch' || inputs.test-scope != 'fips' }}
616599
617600 uses : ./.github/workflows/ci-test-e2e.yml
618601 with :
@@ -633,7 +616,6 @@ jobs:
633616 test-ui-ee :
634617 name : 🔨 Test UI (EE)
635618 needs : [checks, build-gh-docker-publish, release-versions]
636- if : ${{ github.event_name != 'workflow_dispatch' || inputs.test-scope != 'fips' }}
637619
638620 uses : ./.github/workflows/ci-test-e2e.yml
639621 with :
@@ -726,7 +708,6 @@ jobs:
726708 test-federation-matrix :
727709 name : 🔨 Test Federation Matrix
728710 needs : [checks, build-gh-docker-publish, packages-build, release-versions]
729- if : ${{ github.event_name != 'workflow_dispatch' || inputs.test-scope != 'fips' }}
730711 runs-on : ubuntu-24.04
731712
732713 steps :
@@ -823,7 +804,6 @@ jobs:
823804 name : 📊 Report Coverage
824805 runs-on : ubuntu-24.04
825806 needs : [release-versions, test-api-ee, test-api-livechat-ee, test-ui-ee]
826- if : ${{ github.event_name != 'workflow_dispatch' || inputs.test-scope != 'fips' }}
827807
828808 steps :
829809 - uses : actions/checkout@v6
@@ -876,7 +856,7 @@ jobs:
876856 name : ✅ Tests Done
877857 runs-on : ubuntu-24.04-arm
878858 needs : [checks, test-unit, test-api, test-ui, test-api-ee, test-ui-ee, test-api-livechat, test-api-livechat-ee, test-api-fips, test-api-livechat-fips, test-ui-fips, test-federation-matrix]
879- if : ${{ always() && (github.event_name != 'workflow_dispatch' || inputs.test-scope != 'fips') }}
859+ if : always()
880860 steps :
881861 - name : Test finish aggregation
882862 run : |
@@ -933,7 +913,7 @@ jobs:
933913 deploy :
934914 name : 🚀 Publish build assets
935915 runs-on : ubuntu-24.04-arm
936- if : github.event_name != 'workflow_dispatch' && (github.event_name == 'release' || github.ref == 'refs/heads/develop')
916+ if : github.event_name == 'release' || github.ref == 'refs/heads/develop'
937917 needs : [build-gh-docker-publish, release-versions]
938918
939919 steps :
0 commit comments