File tree Expand file tree Collapse file tree 3 files changed +24
-3
lines changed
Expand file tree Collapse file tree 3 files changed +24
-3
lines changed Original file line number Diff line number Diff line change 11on :
2- pull_request_target :
3- types : [opened, reopened, synchronize]
2+ workflow_call :
3+ inputs :
4+ env :
5+ type : string
6+ required : true
47
58jobs :
69 hello_world :
710 runs-on : ubuntu-latest
8- environment : ci
11+ environment : ${{ inputs.env }}
912 steps :
1013 - name : Hello world
1114 run : echo "Hello, world!"
Original file line number Diff line number Diff line change 1+ on :
2+ pull_request_target :
3+ types : [opened, reopened, synchronize]
4+
5+ jobs :
6+ hello_world :
7+ uses : ./.github/workflows/reusable.yml
8+ with :
9+ env : ci-contributors
Original file line number Diff line number Diff line change 1+ on :
2+ pull_request_target :
3+ types : [opened, reopened, synchronize]
4+
5+ jobs :
6+ hello_world :
7+ uses : ./.github/workflows/reusable.yml
8+ with :
9+ env : ci-forks
You can’t perform that action at this time.
0 commit comments