File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 7
7
description : ' Generate JWKS'
8
8
default : ' false'
9
9
type : string
10
+ runs_on :
11
+ description : ' Runner JSON string'
12
+ default : ' ubuntu-latest'
13
+ type : string
10
14
11
15
# Special permissions required for OIDC authentication
12
16
permissions :
@@ -17,7 +21,7 @@ permissions:
17
21
jobs :
18
22
tofu-plan :
19
23
name : ' OpenTofu Plan'
20
- runs-on : [self-hosted, " ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || github.ref_name }}"]
24
+ runs-on : ${{ toJson(inputs.runs_on) }}
21
25
environment : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || github.ref_name }}
22
26
env :
23
27
ENVIRONMENT_NAME : ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || github.ref_name }}
87
91
name : ' OpenTofu Apply'
88
92
needs : [tofu-plan]
89
93
if : ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && needs.tofu-plan.outputs.tf-plan-exit-code == 2 }}
90
- runs-on : [self-hosted, " ${{ github.ref_name }}"]
94
+ runs-on : ${{ toJson(inputs.runs_on) }}
91
95
environment : ${{ github.ref_name }}
92
96
env :
93
97
ENVIRONMENT_NAME : ${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments