summaryrefslogtreecommitdiff
path: root/.github/workflows/auto_labeler.yml
blob: e75f90740d63103361196d5630c752079d2e4723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# Copyright (c) 2006-2024, RT-Thread Development Team
#
# SPDX-License-Identifier: Apache-2.0
#
# Change Logs:
# Date           Author       Notes
# 2024-08-26     supperthomas the first version
#

#这个action用来自动给pull request 添加标签
#当一个pull request被打开时,这个action会自动给这个pull request添加标签

name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
  labeler:
    permissions:
      contents: read
      pull-requests: write
    runs-on: ubuntu-22.04
    steps:
    - uses: actions/labeler@v5