Skip to content

Commit 9f3a672

Browse files
committed
zcsq
1 parent d51bc5b commit 9f3a672

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/promote-branch.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ jobs:
100100
needs: [ versioning, workflow-variables ]
101101
runs-on: ubuntu-latest
102102
env:
103-
is-development-branch: ${{ env.is-development-branch }}
104-
is-maintenance-branch: ${{ env.is-maintenance-branch }}
105103
promotion-type: ${{ inputs.promotion-type }}
106104
default-branch: ${{ needs.workflow-variables.outputs.default-branch }}
107105
source-branch: ${{ github.ref_name }}
@@ -112,7 +110,7 @@ jobs:
112110
- name: 'Checkout ${{ github.head_ref || github.ref }}'
113111
uses: actions/checkout@v5
114112
- name: 'Check promotion type'
115-
if: ${{ (env.promotion-type != 'release') && (inputs.promotion-type != 'preview') }}
113+
if: ${{ (env.promotion-type != 'release') && (env.promotion-type != 'preview') }}
116114
run: |
117115
echo "Invalid promotion type: ${{ inputs.promotion-type }}"
118116
exit 1

0 commit comments

Comments
 (0)