https://github.com/EddieHubCommunity/gh-action-open-source-labels
Issue labels using Open Source labels standards
https://github.com/EddieHubCommunity/gh-action-open-source-labels
Last synced: 4 months ago
JSON representation
Issue labels using Open Source labels standards
- Host: GitHub
- URL: https://github.com/EddieHubCommunity/gh-action-open-source-labels
- Owner: EddieHubCommunity
- License: mit
- Created: 2021-04-01T08:39:32.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-07T13:05:10.000Z (almost 2 years ago)
- Last Synced: 2024-04-24T01:21:26.972Z (12 months ago)
- Size: 38.1 KB
- Stars: 27
- Watchers: 6
- Forks: 23
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- jimsghstars - EddieHubCommunity/gh-action-open-source-labels - Issue labels using Open Source labels standards (Others)
README
# Open Source issue labels generator
A GitHub action that generates the labels you want (customizable name and color) in any repository, easy and efficient.

## Usage
To use this Action, you only need the yaml file below.
```yaml
name: Import open source standard labelson:
push:
branches: [ main ]jobs:
labels:runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '14'
- uses: EddieHubCommunity/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
```## Label standards
> To facilitate the community in finding ways to contribute that match their experiences and skillsets, we have developed a comprehensive system for labelling issues and PRs. This is an introduction to this standard labelling scheme.
> Labels consist of three fields, viz. name, description and color. Label names should have a consistent format to aid both filtering within the github UI as well as scanning visually through the list. The following format is the most suited to this task (where ⎵ denotes a single space):
```
⎵:⎵
```Using the label convention from https://opensource.creativecommons.org/contributing-code/repo-labels/
## Contributing to this project
To add a new label, update the `labels.json` file and the GitHub Action will do the rest for everyone!
```json
[
{
"name": "good first issue",
"color": "7f0799"
},
{
"name": "💬 talk: discussion",
"color": "f9bbe5"
}
]
```> This example shows two common ways to add a label. One without emoji and the other with emoji. The preferred way is using emojis at the beginning, but there are also some labels which are commonly used without emojis.
## Socials
Join our Discord community [here](http://discord.eddiehub.org)
Subscribe our YouTube channel [here](https://www.youtube.com/user/eddiejaoude)## Our Pledge
We take participation in our community as a harassment-free experience for everyone and we pledge to act in ways to contribute to an open, welcoming, diverse and inclusive community.
If you have experienced or been made aware of unacceptable behaviour, please remember that you can report this. Read our [Code of Conduct](https://github.com/EddieHubCommunity/gh-action-open-source-labels/blob/main/CODE_OF_CONDUCT.md).