MeterSphere/.github/workflows/add-labels-for-pr.yml

18 lines
377 B
YAML
Raw Normal View History

on: pull_request
2021-04-01 09:29:58 +08:00
name: MeterSphere 通用 PR 处理
2021-04-01 09:29:58 +08:00
2022-04-28 16:31:00 +08:00
permissions:
2022-04-28 16:32:26 +08:00
pull-requests: write
2022-04-28 16:31:00 +08:00
2021-04-01 09:29:58 +08:00
jobs:
generic_handler:
name: 为 PR 添加标签
2021-04-01 09:29:58 +08:00
runs-on: ubuntu-latest
steps:
2023-05-04 17:53:09 +08:00
- uses: actions/checkout@v3
2022-04-13 16:54:47 +08:00
- uses: actions-ecosystem/action-add-labels@v1
with:
2023-02-16 11:59:16 +08:00
github_token: ${{ secrets.GITHUBTOKEN }}
2022-04-28 16:31:00 +08:00
labels: ${{ github.base_ref }}