Skip to content

Commit

Permalink
Update auto-pull-request-by-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenEarth authored Jul 5, 2024
1 parent 529a5d3 commit 24c2c83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/auto-pull-request-by-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ jobs:
version=`curl https://api.github.com/repos/tencentcloudstack/terraform-provider-tencentcloud/releases/latest --header 'Accept: application/vnd.github+json' --header 'Authorization: Bearer ${{secrets.GITHUB_TOKEN}}' | jq .name | tr -d '"' | tr -d 'v'`
echo "version=$version" >> "$GITHUB_OUTPUT"
git clone https://SevenEarth:${{secrets.GITHUB_TOKEN}}@github.com:SevenEarth/pulumi-tencentcloud.git
git clone https://SevenEarth:${{secrets.GITHUB_TOKEN}}@github.com/SevenEarth/pulumi-tencentcloud.git
cd pulumi-tencentcloud
git config --global user.email "[email protected]"
git config --global user.name "SevenEarth"
git checkout -b "feat/sync_provider_${version}"
cd provider && go mod tidy && cd -
cd provider && go get -v github.com/tencentcloudstack/terraform-provider-tencentcloud@${{version}} && go mod tidy && cd -
make tfgen
make provider
make build_sdks
Expand Down

0 comments on commit 24c2c83

Please sign in to comment.