Skip to content
Merged
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
48 changes: 48 additions & 0 deletions .github/labeler.yml
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"
6 changes: 0 additions & 6 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,3 @@ jobs:
--format @microsoft/eslint-formatter-sarif
--output-file eslint-results.sarif
continue-on-error: true

- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: eslint-results.sarif
wait-for-processing: true
1 change: 1 addition & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ jobs:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GH_TOKEN}}"
configuration-path: labeler.yml
Loading