Skip to content

Commit 75bf2c4

Browse files
Merge pull request #12 from ARYPROGRAMMER/develop/home
chore: updating linting workflow
2 parents 16b3d3f + 70c9ced commit 75bf2c4

File tree

3 files changed

+49
-6
lines changed

3 files changed

+49
-6
lines changed

.github/labeler.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# .github/labeler.yml
2+
3+
# Label PRs that modify TypeScript files
4+
typescript:
5+
- "**/*.ts"
6+
- "**/*.tsx"
7+
8+
# Label PRs that modify JavaScript files
9+
javascript:
10+
- "**/*.js"
11+
- "**/*.jsx"
12+
13+
# Label PRs that modify SCSS or CSS files
14+
styles:
15+
- "**/*.css"
16+
- "**/*.scss"
17+
18+
# Label PRs that modify API routes
19+
api:
20+
- "pages/api/**/*"
21+
22+
# Label PRs that modify public assets
23+
assets:
24+
- "public/**/*"
25+
26+
# Label PRs that modify configuration files
27+
config:
28+
- "next.config.js"
29+
- "tsconfig.json"
30+
- ".eslintrc.js"
31+
- ".prettierrc"
32+
- ".env*"
33+
34+
# Label PRs that modify documentation
35+
documentation:
36+
- "**/*.md"
37+
- "**/*.mdx"
38+
39+
# Label PRs that modify CI/CD workflows
40+
ci:
41+
- ".github/workflows/**/*"
42+
43+
# Label PRs that modify test files
44+
tests:
45+
- "**/*.test.ts"
46+
- "**/*.test.tsx"
47+
- "**/*.spec.ts"
48+
- "**/*.spec.tsx"

.github/workflows/eslint.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,3 @@ jobs:
4444
--format @microsoft/eslint-formatter-sarif
4545
--output-file eslint-results.sarif
4646
continue-on-error: true
47-
48-
- name: Upload analysis results to GitHub
49-
uses: github/codeql-action/upload-sarif@v3
50-
with:
51-
sarif_file: eslint-results.sarif
52-
wait-for-processing: true

.github/workflows/label.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ jobs:
2020
- uses: actions/labeler@v4
2121
with:
2222
repo-token: "${{ secrets.GH_TOKEN}}"
23+
configuration-path: labeler.yml

0 commit comments

Comments
 (0)