[HXOR-158] release wont start if pr closed but not approved (#8335)

This commit is contained in:
Marco Carrozzo 2023-03-15 10:16:27 +01:00 committed by GitHub
parent 5e05f379fa
commit 185e4bc55a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ env:
jobs: jobs:
setup: setup:
timeout-minutes: 20 timeout-minutes: 20
if: github.event.pull_request.merged || ${{ inputs.dry-run-release }} if: github.event.pull_request.merged == true
name: "Setup" name: "Setup"
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
@ -104,7 +104,7 @@ jobs:
release-demoshell: release-demoshell:
needs: [setup] needs: [setup]
timeout-minutes: 15 timeout-minutes: 15
if: github.event.pull_request.merged || ${{ inputs.dry-run-release }} if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Checkout repository - name: Checkout repository
@ -130,7 +130,7 @@ jobs:
release-storybook: release-storybook:
needs: [setup] needs: [setup]
timeout-minutes: 15 timeout-minutes: 15
if: github.event.pull_request.merged || ${{ inputs.dry-run-release }} if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Checkout repository - name: Checkout repository
@ -157,7 +157,7 @@ jobs:
release-npm: release-npm:
needs: [setup] needs: [setup]
timeout-minutes: 15 timeout-minutes: 15
if: github.event.pull_request.merged == true || ${{ inputs.dry-run-release }} if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
permissions: permissions:
contents: read contents: read
@ -215,7 +215,7 @@ jobs:
npm-check-bundle: npm-check-bundle:
needs: [release-npm] needs: [release-npm]
timeout-minutes: 15 timeout-minutes: 15
if: github.event.pull_request.merged == true || ${{ inputs.dry-run-release }} if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Checkout repository - name: Checkout repository