diff options
author | Jack <[email protected]> | 2024-08-15 00:49:34 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-08-15 00:49:34 +0200 |
commit | 945db7d20c8e0cfc9734c4313b03020fa89665e2 (patch) | |
tree | a5b9d6e07f8b24b862241fef7a1e6484e8d63eaf | |
parent | ffb04f2af558d294a2cdf1a4b1cde4cc79baa912 (diff) | |
download | monkeytype-945db7d20c8e0cfc9734c4313b03020fa89665e2.tar.gz monkeytype-945db7d20c8e0cfc9734c4313b03020fa89665e2.zip |
impr(ci): add ability to run ci on draft pull requests (@miodec) (#5791)
* force ci
* trigger
* add force full ci
* blah
* full
* remove trigger
-rw-r--r-- | .github/workflows/monkey-ci.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/monkey-ci.yml b/.github/workflows/monkey-ci.yml index fc136e9dd..0757a783d 100644 --- a/.github/workflows/monkey-ci.yml +++ b/.github/workflows/monkey-ci.yml @@ -23,7 +23,7 @@ concurrency: jobs: pre-ci: - if: github.event.pull_request.draft == false + if: github.event.pull_request.draft == false || contains(github.event.pull_request.labels.*.name, 'force-ci') || contains(github.event.pull_request.labels.*.name, 'force-full-ci') name: pre-ci runs-on: ubuntu-latest outputs: @@ -72,7 +72,7 @@ jobs: name: prime-cache runs-on: ubuntu-latest needs: [pre-ci] - if: needs.pre-ci.outputs.should-build-be == 'true' || needs.pre-ci.outputs.should-build-fe == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true' || needs.pre-ci.outputs.assets-json == 'true' + if: needs.pre-ci.outputs.should-build-be == 'true' || needs.pre-ci.outputs.should-build-fe == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true' || needs.pre-ci.outputs.assets-json == 'true' || contains(github.event.pull_request.labels.*.name, 'force-full-ci') steps: - name: Checkout pnpm-lock @@ -119,7 +119,7 @@ jobs: name: check-pretty needs: [pre-ci, prime-cache] runs-on: ubuntu-latest - if: needs.pre-ci.outputs.should-build-be == 'true' || needs.pre-ci.outputs.should-build-fe == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true' || needs.pre-ci.outputs.assets-json == 'true' + if: needs.pre-ci.outputs.should-build-be == 'true' || needs.pre-ci.outputs.should-build-fe == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true' || needs.pre-ci.outputs.assets-json == 'true' || contains(github.event.pull_request.labels.*.name, 'force-full-ci') steps: - uses: actions/checkout@v4 @@ -169,7 +169,7 @@ jobs: name: ci-be needs: [pre-ci, prime-cache, check-pretty] runs-on: ubuntu-latest - if: needs.pre-ci.outputs.should-build-be == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true' + if: needs.pre-ci.outputs.should-build-be == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true' || contains(github.event.pull_request.labels.*.name, 'force-full-ci') steps: - uses: actions/checkout@v4 with: @@ -217,7 +217,7 @@ jobs: name: ci-fe needs: [pre-ci, prime-cache, check-pretty] runs-on: ubuntu-latest - if: needs.pre-ci.outputs.should-build-fe == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true' + if: needs.pre-ci.outputs.should-build-fe == 'true' || needs.pre-ci.outputs.should-build-pkg == 'true' || contains(github.event.pull_request.labels.*.name, 'force-full-ci') steps: - uses: actions/checkout@v4 @@ -270,7 +270,7 @@ jobs: name: ci-assets needs: [pre-ci, prime-cache, check-pretty] runs-on: ubuntu-latest - if: needs.pre-ci.outputs.assets-json == 'true' + if: needs.pre-ci.outputs.assets-json == 'true' || contains(github.event.pull_request.labels.*.name, 'force-full-ci') steps: - uses: actions/checkout@v4 with: @@ -339,7 +339,7 @@ jobs: name: ci-pkg needs: [pre-ci, prime-cache,check-pretty] runs-on: ubuntu-latest - if: needs.pre-ci.outputs.should-build-pkg == 'true' + if: needs.pre-ci.outputs.should-build-pkg == 'true' || contains(github.event.pull_request.labels.*.name, 'force-full-ci') steps: - uses: actions/checkout@v4 |