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 f034a3c commit 8260e24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/auto-pull-request-by-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 8260e24

Please sign in to comment.