A GitHub action that generates the labels you want (customizable name and color) in any repository, easy and efficient.
To use this Action, you only need the yaml file below.
name: Import open source standard labels
on:
push:
branches: [ main ]
jobs:
labels:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '14'
- uses: Devs-Dungeon/gh-action-open-source-labels@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
owner-name: ${{ github.repository_owner }}
repository-name: ${{ github.event.repository.name }}
# force: true # optional to clear existing labels, default to true