File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 steps :
4646 - uses : actions/checkout@v4
4747 with :
48- ref : ${{ inputs.ref || '' }}
4948 fetch-depth : 0
5049
50+ - name : Checkout ref
51+ if : inputs.ref != ''
52+ run : git checkout ${{ inputs.ref }}
53+
5154 - uses : aws-actions/configure-aws-credentials@v4
5255 with :
5356 role-to-assume : ${{ secrets.TF_AWS_ROLE_ARN }}
@@ -153,9 +156,11 @@ jobs:
153156 steps :
154157 - uses : actions/checkout@v4
155158 with :
156- ref : ${{ inputs.ref }}
157159 fetch-depth : 0
158160
161+ - name : Checkout ref
162+ run : git checkout ${{ inputs.ref }}
163+
159164 - uses : aws-actions/configure-aws-credentials@v4
160165 with :
161166 role-to-assume : ${{ secrets.TF_AWS_ROLE_ARN }}
@@ -194,9 +199,11 @@ jobs:
194199 steps :
195200 - uses : actions/checkout@v4
196201 with :
197- ref : ${{ inputs.ref }}
198202 fetch-depth : 0
199203
204+ - name : Checkout ref
205+ run : git checkout ${{ inputs.ref }}
206+
200207 - uses : aws-actions/configure-aws-credentials@v4
201208 with :
202209 role-to-assume : ${{ secrets.TF_AWS_ROLE_ARN }}
You can’t perform that action at this time.
0 commit comments