A GitHub Action to add labels on PR / Issues.
Required Labels to add.
Optional Issue/Pull Request number
name: Add Label
on:
pull_request:
branches:
- main
types:
- opened
jobs:
add-label:
name: Add Label
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: christianvuerings/add-labels@v1
with:
labels: |
minor release
bug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pnpm i
npm i -g @vercel/ncc
ncc build src/index.ts
forked from christianvuerings/add-labels