File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
ql/lib/test/.github/workflows Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ on : push
2
+
3
+ jobs :
4
+ call-workflow-1-in-local-repo :
5
+ uses : octo-org/this-repo/.github/workflows/reusable_workflow.yml@172239021f7ba04fe7327647b213799853a9eb89
6
+ with :
7
+ config-path : ${{ github.event.pull_request.head.ref }}
8
+ secrets : inherit
9
+ call-workflow-2-in-local-repo :
10
+ uses : ./.github/workflows/reusable_workflow.yml
11
+ with :
12
+ config-path : ${{ github.event.pull_request.head.ref }}
13
+ secrets : inherit
14
+ call-workflow-in-another-repo :
15
+ uses : octo-org/another-repo/.github/workflows/workflow.yml@v1
16
+ with :
17
+ config-path : ${{ github.event.pull_request.head.ref }}
18
+ secrets : inherit
Original file line number Diff line number Diff line change
1
+ name : Reusable workflow example
2
+
3
+ on :
4
+ workflow_call :
5
+ inputs :
6
+ config-path :
7
+ required : true
8
+ type : string
9
+ secrets :
10
+ token :
11
+ required : true
12
+
13
+ jobs :
14
+ triage :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - id : sink
18
+ run : echo ${{ inputs.config-path }}
You can’t perform that action at this time.
0 commit comments