-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from ARYPROGRAMMER/develop/home
chore: updating linting workflow
- Loading branch information
Showing
3 changed files
with
49 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# .github/labeler.yml | ||
|
||
# Label PRs that modify TypeScript files | ||
typescript: | ||
- "**/*.ts" | ||
- "**/*.tsx" | ||
|
||
# Label PRs that modify JavaScript files | ||
javascript: | ||
- "**/*.js" | ||
- "**/*.jsx" | ||
|
||
# Label PRs that modify SCSS or CSS files | ||
styles: | ||
- "**/*.css" | ||
- "**/*.scss" | ||
|
||
# Label PRs that modify API routes | ||
api: | ||
- "pages/api/**/*" | ||
|
||
# Label PRs that modify public assets | ||
assets: | ||
- "public/**/*" | ||
|
||
# Label PRs that modify configuration files | ||
config: | ||
- "next.config.js" | ||
- "tsconfig.json" | ||
- ".eslintrc.js" | ||
- ".prettierrc" | ||
- ".env*" | ||
|
||
# Label PRs that modify documentation | ||
documentation: | ||
- "**/*.md" | ||
- "**/*.mdx" | ||
|
||
# Label PRs that modify CI/CD workflows | ||
ci: | ||
- ".github/workflows/**/*" | ||
|
||
# Label PRs that modify test files | ||
tests: | ||
- "**/*.test.ts" | ||
- "**/*.test.tsx" | ||
- "**/*.spec.ts" | ||
- "**/*.spec.tsx" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ jobs: | |
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GH_TOKEN}}" | ||
configuration-path: labeler.yml |