Skip to content

Commit f38d1ba

Browse files
authored
Stop triggering builds on PR closed (#1187)
1 parent a95b798 commit f38d1ba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/build_starter.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- cron: "0 7 * * *" # 7am UTC = 11pm PST / 12am PDT
77

88
pull_request:
9-
types: [ labeled, closed ]
9+
types: [ labeled ]
1010

1111
workflow_dispatch:
1212
inputs:
@@ -116,8 +116,6 @@ jobs:
116116
echo "runIntegrationTests=${{ github.event.pull_request.number }}:label-quick-packaging" >> $GITHUB_OUTPUT
117117
elif [[ "${{ github.event.action }}" == "labeled" && "${{ github.event.label.name }}" == "tests-requested: full" ]]; then
118118
echo "runIntegrationTests=${{ github.event.pull_request.number }}:label-full-packaging" >> $GITHUB_OUTPUT
119-
elif [[ "${{ github.event.action }}" == "closed" && "${{ github.event.pull_request.merged == true}}" == "true" ]]; then
120-
echo "runIntegrationTests=${{ github.event.pull_request.number }}:pr-close-packaging" >> $GITHUB_OUTPUT
121119
else
122120
echo "invalid_trigger=1" >> $GITHUB_OUTPUT
123121
fi

0 commit comments

Comments
 (0)