Skip to content

A Github action that notifies when specific labels are not added in the issue ๐Ÿš€

License

Notifications You must be signed in to change notification settings

foretheta/required-labels

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

74 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Required Labels Github Action

This action prints the comment on an issue if the required labels are not added in the issue. The required actions can be added in the action input using comma seperated values

Inputs

labels

Required The name of the labels that are required.

Example:

labels: "Todo, Bug"

GITHUB_TOKEN

GitHub automatically creates a GITHUB_TOKEN secret to use in your workflow. You can use the GITHUB_TOKEN to authenticate in a workflow run.

Example: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Outputs

This action doesn't output anything

Example usage

on:
  issues:
    types: [opened, edited]

jobs:
  required_labels:
    runs-on: ubuntu-latest
    name: Required Labels
    steps:
      - name: Required Labels
        uses: muhaddimu/required-labels@master
        with:
          labels: "Todo, Bug"
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Submit Issues

Facing any Issues or weird behavior(yes, action behave)? Feel free to open a new issue


License MIT

About

A Github action that notifies when specific labels are not added in the issue ๐Ÿš€

Resources

License

Stars

Watchers

Forks

Packages

No packages published