Simple Labeler
ActionsTags
ย (2)๐ ํ๊ตญ์ด | 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.
Simple Labeler is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.