[script request]: Simplilearn AutoWatch - Automate Video Watching on Simplilearn #357
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
| name: Labeling Issues | |
| on: | |
| issues: | |
| types: [opened] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: Renato66/auto-label@v2 | |
| with: | |
| # Change this to "repo-token: ${{ secrets.GITHUB_USER_TOKEN }}" if you want message to say that User Assigned issue rather than bot | |
| # Generate a Secret GITHUB_USER_TOKEN beforehand | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| # The keywords in comments are ignored | |
| ignore-comments: true | |
| # Keywords - [In JSON Format] | |
| # Syntax - "Label":["Synonym_1","Synonym_2"] | |
| # Mind the spaces in Syntax | |
| labels-synonyms: '{"bug":["error","need fix","not working","bug","Bug","BUG"],"enhancement":["upgrade","feature","enhancement"],"question":["help"],"BASH":["Bash","bash","BASH"],"JavaScript":["JavaScript","JAVASCRIPT","Javascript","javascript","JS","js"],"Python":["Python","PYTHON","python"],"Urgent":["urgent","URGENT","Urgent"],"Golang":["Golang","GOLANG"],"documentation":["documentation","Documentation"],"No-Code":["No Code"],"SLoP":["SLoP"]}' | |
| # Labels that cant be declared by this function | |
| labels-not-allowed: '["good first issue","invalid","Urgent","Priority","Announcement","High Priority","Not Needed","plagiarism","spam","Assigned","Easy","Hard","Medium"]' | |
| # Default label, Dont change without opening an issue | |
| default-labels: '["Up-For-Grab"]' |