Skip to content

Commit

Permalink
Merge pull request #12 from ARYPROGRAMMER/develop/home
Browse files Browse the repository at this point in the history
chore: updating  linting workflow
  • Loading branch information
ARYPROGRAMMER authored Dec 16, 2024
2 parents 16b3d3f + 70c9ced commit 75bf2c4
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 6 deletions.
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

0 comments on commit 75bf2c4

Please sign in to comment.