Skip to content

Commit

Permalink
Revert "AAE-25053 Remove wrong if statements from release ADF workflow (
Browse files Browse the repository at this point in the history
#10044)"

This reverts commit f508fe4.
  • Loading branch information
tomgny committed Aug 5, 2024
1 parent f02aca0 commit 7144bd9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
name: "release"

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

0 comments on commit 7144bd9

Please sign in to comment.