fix: update workflow-omit branch in pr #11
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: Prepare Release PR | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| create_release_pr: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout master | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: master | |
| fetch-depth: 0 | |
| - name: Raise PR from master to main | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| base: main | |
| title: "Release PR: master -> main" | |
| body: "This PR merges the changes from the master branch to main branch" | |
| token: ${{ secrets.GITHUB_TOKEN }} |