https://github.com/jumpserver/action-auto-pr-branch
https://github.com/jumpserver/action-auto-pr-branch
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jumpserver/action-auto-pr-branch
- Owner: jumpserver
- License: mit
- Created: 2020-07-17T08:52:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-20T05:43:16.000Z (almost 6 years ago)
- Last Synced: 2025-10-16T14:29:21.914Z (9 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 构建和上传 release assets
这个 action 是用来自动将push的 branch 向某个分支进行提 PR
## 约定条件
#### 分支 命名规范
格式:pr_${BRANCH_TO}_other
说明:分支必须以 pr_开头,后面是向 某个分支发起的PR请求分支, 最后是其他名字
注意这里需要使用 ACCE
## Inputs
无
## Example usage
```yaml
on:
push:
branches:
- pr_*
name: Auto add PR label
jobs:
add_pr_labels:
name: Auto add pull request labels if need
runs-on: ubuntu-latest
steps:
- name: Add labels
uses: jumpserver/action-auto-pr-branch@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```