Skip to content

Commit

Permalink
add: codacy CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Drish-xD committed Apr 27, 2024
1 parent 3171b7a commit 8dc6b5a
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/codacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Codacy CI

on:
push:
branches: ['main', 'dev']
pull_request:
branches: ['main']
schedule:
- cron: '40 13 * * 4'

permissions:
contents: read

jobs:
codacy-scan:
permissions:
contents: read
security-events: write
actions: read
name: Codacy Scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Codacy Analysis CLI
uses: codacy/codacy-analysis-cli-action@d840f886c4bd4edc059706d09c6a1586111c540b
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
verbose: true
output: results.sarif
format: sarif
gh-code-scanning-compat: true
max-allowed-issues: 2147483647
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ The personal Portfolio website showcases projects, skills, and blogs to share ex

The website boasts an appealing user interface, crafted using custom design, making it visually pleasing and user-friendly.

---

## Folder Structure

```
Expand All @@ -59,5 +57,3 @@ src
└───utils
```

---

0 comments on commit 8dc6b5a

Please sign in to comment.