mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 11:08:38 +08:00
21 lines
471 B
YAML
21 lines
471 B
YAML
on: pull_request
|
|
|
|
name: MeterSphere 通用 PR 处理
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
generic_handler:
|
|
name: 为 PR 添加标签
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Add labels
|
|
uses: jumpserver/action-generic-handler@master
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-ecosystem/action-add-labels@v1
|
|
with:
|
|
labels: ${{ github.base_ref }}
|