Skip to content

Commit

Permalink
Upload CodeQL logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
iglesias committed Jan 1, 2025
1 parent 7a58a45 commit 8a3ab4e
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "CodeQL"

on:
push:
branches: [ "main" ]
branches: [ "main", "iglesias-patch-1" ]
pull_request:
branches: [ "main" ]

Expand Down Expand Up @@ -56,3 +56,20 @@ jobs:
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
continue-on-error: true
id: analyze

- name: Gtgt Analysis Logs
run: |
mkdir -p logs
echo "#$(date)" > logs/codeql-analysis.log
echo "===============================================" >> logs/codeql-analysis.log
echo "${{ toJSON(steps.analyze.outputs) }}" >> logs/codeql-analysis.log
- name: Upload Analysis Logs
uses: actions/upload-artifact@v4
with:
name: codeql-analysis-logs
path: logs/codeql-analysis.log
retention-days: 90
if-no-files-found: warn

0 comments on commit 8a3ab4e

Please sign in to comment.