1Panel/.github/workflows/add-labels-for-pr.yml
1Panel-bot 6d1fe20736
feat: 增加 actions (#226)
feat: 增加 actions
2023-03-15 10:08:28 +00:00

18 lines
377 B
YAML

on: pull_request
name: MeterSphere 通用 PR 处理
permissions:
pull-requests: write
jobs:
generic_handler:
name: 为 PR 添加标签
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUBTOKEN }}
labels: ${{ github.base_ref }}