Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added auto-label.json and updated issues.yml #2601

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/auto-label.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
labelsSynonyms: {
dependencies: ["dependencies", "dependabot", "dependency"],
security: ["security"],
"good first issue": [
"security",
"dependencies",
"dependabot",
"dependency",
"layout",
"screen",
"design",
"figma",
],
"ui/ux": ["layout", "screen", "design", "figma"],
},
}
12 changes: 9 additions & 3 deletions .github/workflows/issues.yml → .github/workflows/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# NOTE!
#
# Please read the README.md file in this directory that defines what should
# Please read the README.md file in this directory that defines what should
# be placed in this file
#
##############################################################################
Expand All @@ -12,18 +12,24 @@
name: Issues Workflow
on:
issues:
types: ['opened']
types: ["opened"]
jobs:
Opened-issue-label:
name: Adding Issue Label
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
VanshikaSabharwal marked this conversation as resolved.
Show resolved Hide resolved
with:
sparse-checkout: |
.github/workflows/auto-label.json5
sparse-checkout-cone-mode: false
VanshikaSabharwal marked this conversation as resolved.
Show resolved Hide resolved

- uses: Renato66/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
ignore-comments: true
default-labels: '["unapproved"]'

Issue-Greeting:
name: Greeting Message to User
runs-on: ubuntu-latest
Expand Down