AAE-25053 Remove wrong if statements from release ADF workflow (#10044)

* AAE-25053 Remove wrong if statements from release ADF workflow

* roll back workflow call inputs dry-run-flag
This commit is contained in:
Tomasz Gnyp 2024-08-05 17:15:01 +02:00 committed by GitHub
parent ff4a1afd4c
commit f508fe49d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,13 @@
name: "release" name: "release"
on: on:
workflow_call:
inputs:
dry-run-flag:
description: 'enable dry-run on artifact push'
required: false
type: boolean
default: true
push: push:
branches: branches:
- develop - develop
@ -79,7 +86,6 @@ env:
jobs: jobs:
setup: setup:
timeout-minutes: 20 timeout-minutes: 20
if: github.event.pull_request.merged == true || github.ref_name == 'master' || github.ref_name == 'master-patch-*'
name: "Setup" name: "Setup"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -102,7 +108,6 @@ jobs:
release-demoshell: release-demoshell:
needs: [setup] needs: [setup]
timeout-minutes: 15 timeout-minutes: 15
if: github.event.pull_request.merged == true || github.ref_name == 'master' || github.ref_name == 'master-patch-*'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
@ -128,7 +133,6 @@ jobs:
release-storybook: release-storybook:
needs: [setup] needs: [setup]
timeout-minutes: 15 timeout-minutes: 15
if: github.event.pull_request.merged == true || github.ref_name == 'master' || github.ref_name == 'master-patch-*'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
@ -155,7 +159,6 @@ jobs:
release-npm: release-npm:
needs: [setup] needs: [setup]
timeout-minutes: 30 timeout-minutes: 30
if: github.event.pull_request.merged == true || github.ref_name == 'master' || github.ref_name == 'master-patch-*'
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read
@ -222,7 +225,6 @@ 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 || github.ref_name == 'master' || github.ref_name == 'master-patch-*'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository