Skip to content

Commit aecb587

Browse files
authored
Only run the release-gate on workflow dispatch (#24366)
1 parent b889571 commit aecb587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
release-gate:
5757
# N.B. This name should not change, it is used for downstream checks.
5858
name: release-gate
59-
if: ${{ inputs.tag != 'dry-run' }}
59+
if: ${{ github.event_name == 'workflow_dispatch' && inputs.tag != 'dry-run' }}
6060
runs-on: ubuntu-latest
6161
# This environment requires a 2-factor approval, i.e., the workflow must be approved by another
6262
# team member. GitHub fires approval events on every job that deploys to an environment, so we

0 commit comments

Comments
 (0)