Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
feat: better code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
LPkkjHD committed May 27, 2024
1 parent 6987cdc commit 1649a8a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Qodana
on:
workflow_dispatch:
pull_request:
paths:
- 'game/**'
push:
branches: # Specify your branches here
- main # The 'main' branch
Expand All @@ -25,7 +27,4 @@ jobs:
args: -i,game
push-fixes: pull-request
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
- uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
30 changes: 30 additions & 0 deletions .github/workflows/quality_website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Qodana
on:
workflow_dispatch:
pull_request:
paths:
- 'website/**'
push:
branches: # Specify your branches here
- main # The 'main' branch

jobs:
qodana:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
checks: write
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
pr-mode: false
args: -i,website
push-fixes: pull-request
env:
QODANA_TOKEN: ${{ secrets.WEBPAGE_TOKEN }}

0 comments on commit 1649a8a

Please sign in to comment.