mirror of
https://github.com/Ujwal223/FocusGram.git
synced 2026-11-14 16:17:26 +01:00
fix(security): Upgrade CodeQL to v4, add generalized .env.example, and restrict postMessage origin
This commit is contained in:
1 parent
27119c543c
commit
3535839997
5 files changed
+101
-5
No files matched your search
@@ -24,7 +24,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Java 21
|
||||
uses: actions/setup-java@v4
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: "21"
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
cache-read-only: false
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
uses: github/codeql-action/init@v4
|
||||
with:
|
||||
languages: 'java-kotlin'
|
||||
queries: +security-extended,security-and-quality
|
||||
@@ -60,6 +60,7 @@ jobs:
|
||||
./gradlew :app:assembleDebug --no-daemon
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
uses: github/codeql-action/analyze@v4
|
||||
continue-on-error: true
|
||||
with:
|
||||
category: "/language:java-kotlin"
|
||||
Reference in new issue
Block a user