ci: pr add label
This commit is contained in:
parent
a2164cc46c
commit
f4e050abe0
|
@ -0,0 +1,16 @@
|
||||||
|
name: Add Label
|
||||||
|
|
||||||
|
on: [ pull_request ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
BASE_BRANCH: ${{ github.base_ref }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
add_label:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions-ecosystem/action-add-labels@v1
|
||||||
|
if: ${{ startsWith(github.event.comment.body, '/add-labels') }}
|
||||||
|
with:
|
||||||
|
labels: env.BASE_BRANCH
|
Loading…
Reference in New Issue