Updating based on 6e5cf5d2 #666
Workflow file for this run
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
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- 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 }} |