File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 2727 name : Deploy ${{ matrix.locale }}
2828 steps :
2929 # Calculate if this matrix job should run based on PR labels
30+ #
31+ # This job will deploy if:
32+ # - The event is NOT a pull_request (e.g., workflow_dispatch)
33+ # - OR the PR has the label 'prerelease'
34+ # - OR the PR has the label 'prerelease:<locale>' matching the current matrix locale
3035 - name : Calculate should_deploy
3136 id : should_deploy
3237 shell : bash
4752 uses : actions/checkout@v3
4853 with :
4954 fetch-depth : 1
55+ - name : Log checked out commit
56+ if : steps.should_deploy.outputs.should_deploy == 'true'
57+ run : git log -1 --oneline --decorate
5058 - name : Setup Tools
5159 if : steps.should_deploy.outputs.should_deploy == 'true'
5260 uses : ./.github/actions/setup
You can’t perform that action at this time.
0 commit comments