Skip to content

Add Labels

Actions
Add labels on Pull Requests or Issues
v1.1
Latest
Star (6)

Add Labels

A GitHub Action to add labels on PR / Issue events

Inputs

labels

Required Labels to add.

Example usage

name: Add Label
on:
  pull_request:
    branches:
      - master
    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 }}

Update compiled files

npm i
npm i -g @zeit/ncc
ncc build index.js

Add Labels 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.

About

Add labels on Pull Requests or Issues
v1.1
Latest

Add Labels 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.