Created
September 23, 2022 16:58
-
-
Save Anmol-Baranwal/63e35891d2b817767c6a1ed9d00ae6d6 to your computer and use it in GitHub Desktop.
Workflow to automatically add labels in JSON format in GitHub
This file contains hidden or 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment