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.
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 }}
github-token
: GitHub Actions token (e.g. { github.token }). Required.