Skip to content

Latest commit

 

History

History

label-issue-repo-name

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

label-issue-repo-name

label-issue-repo-name - Label issues & PRs with the repository name

This action labels issues & PRs with the name of the repository. It is useful for organizing GitHub Project boards with issues from multiple repos.

Usage

Basic example

label-issues-reponame.yml

name: label-issues-repo-name

on:
  issues:
    types:
      - opened
  pull_request:
    types:
      - opened

jobs:
  add-label:
    runs-on: ubuntu-latest
    steps:
      - uses: CCBR/actions/label-issue-repo-name
        with:
          github-token: ${{ github.token }}

Inputs

  • github-token: GitHub Actions token (e.g. { github.token }). Required.