Created
January 6, 2024 05:56
-
-
Save Ran-Xing/aadae4f92f816da685d3d3ec4d077a1a to your computer and use it in GitHub Desktop.
Github Action Commit to PR
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: PR 预处理 | |
on: | |
push: | |
branches: | |
- 'feature/**' | |
permissions: | |
pull-requests: write | |
jobs: | |
merge-branch: | |
name: 提交到PR | |
runs-on: ubuntu-latest | |
steps: | |
- name: 获取代码 | |
uses: actions/checkout@master | |
- name: 提交 | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
delete-branch: true | |
base: master | |
branch: ${{ github.ref }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment