GitHub Action
Simple Labeler
v1.0.1
Latest version
π νκ΅μ΄ | English
PR μ μλμΌλ‘ Label μ μΆκ°ν΄μ£Όλ κ°λ¨ν Github Actions
- μλμ κ°μ΄
.github/workflows/simple-labeler.yml
νμΌμ μμ±ν©λλ€:
name: Simple Labeler
on:
pull_request:
types: [opened, ready_for_review]
jobs:
simple-labeler:
runs-on: [ubuntu-latest]
steps:
- name: Label to PR
uses: naver/simple-labeler@latest
with:
token: ${{ secrets.GITHUB_TOKEN }}
labels: "D-3"
duplicate: "D-*"
- μνλ μ΄λ²€νΈλ₯Ό
on
μ λͺ μν©λλ€. μ¬κΈ°μλ PR μμ± μ, Draft μμ Open μνλ‘ μ ν μ Label μ μΆκ°ν©λλ€. (μ°Έκ³ λ‘, Draft μμ± μμλ λ°μνμ§ μμ΅λλ€.) - ν΄λΉ μ΄λ²€νΈκ° λ°μνλ©΄ GitHub Actions κ° μλμΌλ‘
labels
μ μ λ ₯ν Label μ μΆκ°ν©λλ€.
Required GitHubμμ μ 곡νλ ν ν°
Required μ΄λ²€νΈ λ°μ μ μΆκ°ν Label λͺ©λ‘. μ½€λ§(,)λ‘ κ΅¬λΆ
κΈ°μ‘΄μ λΆμ Label μ€ μ΄ ν¨ν΄κ³Ό μΌμΉνλ κ²μ΄ μλ€λ©΄ μ Labelμ μΆκ°νμ§ μμ΅λλ€. (glob ν¨ν΄ μ¬μ©)
Copyright (c) 2023-present NAVER Corp.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.