File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 5
5
push :
6
6
branches : ["main", "release/*", "project/*"]
7
7
tags : ["Second_Life*"]
8
+ workflow_run :
9
+ workflows : ["Tag a Build"]
10
+ types :
11
+ - completed
8
12
9
13
jobs :
10
14
# The whole point of the setup job is that we want to set variables once
25
29
# When you want to use a string variable as a workflow YAML boolean, it's
26
30
# important to ensure it's the empty string when false. If you omit || '',
27
31
# its value when false is "false", which is interpreted as true.
28
- RELEASE_RUN : ${{ (github.event.inputs.release_run || github.ref_type == 'tag' && startsWith(github.ref_name, 'Second_Life')) && 'Y' || '' }}
32
+ RELEASE_RUN : ${{ (github.event.inputs.release_run || github.event_name == 'workflow_run' || github. ref_type == 'tag' && startsWith(github.ref_name, 'Second_Life')) && 'Y' || '' }}
29
33
FROM_FORK : ${{ github.event.pull_request.head.repo.fork }}
30
34
steps :
31
35
- name : Set Variables
You can’t perform that action at this time.
0 commit comments