Last active
October 20, 2022 18:18
-
-
Save Anmol-Baranwal/d2ed032d4fa2883e84c6b5d5b46853ea to your computer and use it in GitHub Desktop.
JSON Data for Labels in GitHub with name, color, description with the workflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: issues | |
name: Create Default Labels | |
jobs: | |
labels: | |
name: DefaultLabelsActions | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@1.0.0 | |
- uses: lannonbr/issue-label-manager-action@3.0.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
delete: true # will delete any labels that aren't in the .github/labels.json (this is set to false by default) | |
# visit this link to get the information about labels in JSON format => https://gist.github.com/Anmol-Baranwal/d2ed032d4fa2883e84c6b5d5b46853ea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "awaiting reply", | |
"color": "1C2833", | |
"description": "Issues or pull requests awaiting reply from an individual before it may be addressed" | |
}, | |
{ | |
"name": "changes requested", | |
"color": "B7BF99", | |
"description": "Use this label when you want to request any changes" | |
}, | |
{ | |
"name": "contributions welcome", | |
"color": "FBCA04", | |
"description": "Contributions are welcome" | |
}, | |
{ | |
"name": "feedback", | |
"color": "0E8A16", | |
"description": "Include this label if you want to give feedback" | |
}, | |
{ | |
"name": "help wanted", | |
"color": "008672", | |
"description": "Issues we would like help from the community to resolve" | |
}, | |
{ | |
"name": "suggestion", | |
"color": "012626", | |
"description": "Include this label if you want to suggest anything" | |
}, | |
{ | |
"name": "incomplete", | |
"color": "383416", | |
"description": "Issue or pull request where the required information is either incomplete or missing altogether" | |
}, | |
{ | |
"name": "in discussion", | |
"color": "0C7D74", | |
"description": "There is an ongoing discussion that should be finished before we can continue" | |
}, | |
{ | |
"name": "hacktoberfest", | |
"color": "392A23", | |
"description": "Indicates issues and PRs related to Hacktoberfest" | |
} | |
{ | |
"name": "hacktoberfest-accepted", | |
"color": "A3CCAB", | |
"description": "Indicates to Hacktoberfest that a PR has been accepted by a maintainer" | |
} | |
{ | |
"name": "good first issue", | |
"color": "7057ff", | |
"description": "Issues we believe are simple and a good first stab at contributing to the project" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Include this file in the .github directory
Visit This Gist for the workflow to add these above labels to the Repository =>