File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1111 - ' **/go.mod'
1212
1313jobs :
14+ runner-select :
15+ runs-on : ubuntu-latest
16+ outputs :
17+ runner : ${{ steps.runner.outputs.runner }}
18+ steps :
19+ - id : runner
20+ run : echo "runner=[self-hosted, 1ES.Pool=${{ github.event.repository.name }}]" >> $GITHUB_OUTPUT
1421 acc-tests :
15- runs-on : [self-hosted, 1ES.Pool=terraform-azurerm-vnet]
22+ needs : [runner-select]
23+ runs-on : ${{ needs.runner-select.outputs.runner }}
1624 environment :
1725 name : acctests
1826 steps :
Original file line number Diff line number Diff line change 1313jobs :
1414 prepr-check :
1515 runs-on : ubuntu-latest
16- permissions :
17- pull-requests : write
1816 steps :
1917 - name : checkout
2018 uses : actions/checkout@v3
2119 - name : pr-check
2220 run : |
23- docker run --rm -v $(pwd):/src -w /src -e SKIP_CHECKOV -e TFLINT_CONFIG=.tflint_alt.hcl mcr.microsoft.com/azterraform:latest make pr-check
21+ docker run --rm -v $(pwd):/src -w /src -e SKIP_CHECKOV mcr.microsoft.com/azterraform:latest make pr-check
2422 - name : Set up Go
2523 uses : actions/setup-go@v3
2624 with :
You can’t perform that action at this time.
0 commit comments