File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 1414 GH_TOKEN : ${{ secrets.PR_TOKEN }}
1515 GO_VERSION : " 1.24"
1616 DOTNET_VERSION : 9.0.x
17- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1817 NODE_VERSION : 20.x
1918 PYTHON_VERSION : " 3.9"
2019
2625 steps :
2726 - name : Checkout
2827 uses : actions/checkout@v6
28+ # TODO: remove when this repo is made public
29+ - name : Configure Git for Private Modules
30+ run : |
31+ git config --global url."https://oauth2:${{ secrets.PR_TOKEN }}@github.com".insteadOf "https://github.com"
32+ # Sets GOPRIVATE and GONOSUMDB in order to use the git authetnication for go mod.
33+ echo "GOPRIVATE=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
34+ echo "GONOSUMDB=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
35+ # TODO: remove end
2936 - name : Install pulumictl
3037 uses : jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # tag=v2.1.0
3138 with :
4855 uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # tag=v6.0.0
4956 with :
5057 python-version : ${{ env.PYTHON_VERSION }}
51- # TODO: remove when this repo is made public
52- - name : Configure Git for Private Modules
53- run : |
54- git config --global url."https://oauth2:${{ secrets.PR_TOKEN }}@github.com".insteadOf "https://github.com"
55- # Sets GOPRIVATE and GONOSUMDB in order to use the git authetnication for go mod.
56- echo "GOPRIVATE=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
57- echo "GONOSUMDB=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
58- # TODO: remove end
5958 - name : Test update provider and bridge and create a PR
6059 run : |
6160 LATEST_TAG=$(git ls-remote --tags https://github.com/stackitcloud/terraform-provider-stackit | grep -oP 'refs/tags/v\d+\.\d+\.\d+$' |sed 's/refs\/tags\///' | sort -V | tail -n 1)
You can’t perform that action at this time.
0 commit comments