diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 8e3fcaea11..9b47f9a6a7 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -21,7 +21,7 @@ on: jobs: cypress-restTableOps-run-cache: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -66,7 +66,7 @@ jobs: retention-days: 2 cypress-restViews-run-cache: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -111,7 +111,7 @@ jobs: retention-days: 2 cypress-restRoles-run-cache: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -156,7 +156,7 @@ jobs: retention-days: 2 cypress-restMisc-run-cache: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -201,7 +201,7 @@ jobs: retention-days: 2 cypress-xcdb-restTableOps-run-cache: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -246,7 +246,7 @@ jobs: retention-days: 2 cypress-xcdb-restViews-run-cache: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -291,7 +291,7 @@ jobs: retention-days: 2 cypress-xcdb-restRoles-run-cache: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -336,7 +336,7 @@ jobs: retention-days: 2 cypress-xcdb-restMisc-run-cache: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -381,7 +381,7 @@ jobs: retention-days: 2 cypress-pg-restTableOps-run-cache: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -426,7 +426,7 @@ jobs: retention-days: 2 cypress-pg-restViews-run-cache: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -471,7 +471,7 @@ jobs: retention-days: 2 cypress-pg-restRoles-run-cache: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -516,7 +516,7 @@ jobs: retention-days: 2 cypress-pg-restMisc-run-cache: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -561,7 +561,7 @@ jobs: retention-days: 2 cy-quick-sqlite: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -607,7 +607,7 @@ jobs: retention-days: 2 cy-quick-pg: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -652,7 +652,7 @@ jobs: retention-days: 2 unit-tests: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1 @@ -692,7 +692,7 @@ jobs: run: npm run test:unit cypress-db-independent: runs-on: ubuntu-20.04 - if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || github.event.label.name == 'trigger-CI' || !github.event.pull_request.draft }} steps: - name: Setup Node uses: actions/setup-node@v1