Updating based on 297d157f0 #835
This file contains hidden or 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
| name: Open Pull Request when an `auto-pr` is pushed | |
| on: | |
| push: | |
| branches: | |
| - 'auto-pr/**' | |
| jobs: | |
| open-pull-request: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 | |
| - name: "open a pull request" | |
| id: open-pr | |
| run: | | |
| bash ./scripts/open-pull-request.sh "$PR_TITLE" "$PR_BODY" "$PR_TARGET" "$PR_LABEL" | |
| env: | |
| PR_TITLE: "Auto PR: Regenerating the Go SDK (${{ github.sha }})" | |
| PR_BODY: "Regenerating the SDK based on the latest changes" | |
| PR_TARGET: "main" | |
| PR_LABEL: "release-once-merged" | |
| GITHUB_TOKEN: ${{ secrets.SERVICE_ACCOUNT_GO_SDK_TOKEN }} |