forked from tencentcloudstack/pulumi-tencentcloud
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update auto-pull-request-by-release.yml
- Loading branch information
1 parent
f034a3c
commit 8260e24
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,21 +52,21 @@ jobs: | |
cd pulumi-tencentcloud | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "SevenEarth" | ||
git checkout -b "feat/sync_provider_${version}" | ||
git checkout -b "feat/sync_provider_v${version}" | ||
cd provider && go get -v github.com/tencentcloudstack/terraform-provider-tencentcloud@$${{ steps.generate-code.outputs.version }} && go mod tidy && cd - | ||
cd provider && go get -v github.com/tencentcloudstack/terraform-provider-tencentcloud@v${{ steps.generate-code.outputs.version }} && go mod tidy && cd - | ||
make tfgen | ||
make provider | ||
make build_sdks | ||
cd sdk && go mod tidy && cd - | ||
git add . | ||
git commit -sm "sync provider" | ||
git push origin feat/sync_provider_${version} | ||
git push origin feat/sync_provider_v${version} | ||
- name: create pull request | ||
run: | | ||
cd pulumi-tencentcloud | ||
gh pr create -B main -H feat/sync_provider_${{ steps.generate-code.outputs.version }} --title "sync terraform provider" --body "sync terraform provider version to ${{ steps.update-code.outputs.version }}" | ||
gh pr create -B main -H feat/sync_provider_v${{ steps.generate-code.outputs.version }} --title "sync terraform provider" --body "sync terraform provider version to v${{ steps.update-code.outputs.version }}" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |