Skip to content

goldsrc/add-labels

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Repository files navigation

Add Labels

A GitHub Action to add labels on PR / Issues.

Requirements

Inputs

labels

Required Labels to add.

issue_number

Optional Issue/Pull Request number

Example usage

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 }}

Update compiled files

pnpm i
npm i -g @vercel/ncc
ncc build src/index.ts

Acknowledgements

forked from christianvuerings/add-labels

About

A GitHub Action to add labels on PR / Issue events

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%