Skip to content

Commit

Permalink
Create codeql.yml (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptorres-prowide authored Feb 6, 2025
1 parent 830df12 commit 04e4d22
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: "CodeQL"

on:
push:
branches: ["main", "CU-*", "SRU*"]
paths:
- iso20022-core/src
pull_request:
branches: ["main"]
paths:
- iso20022-core/src
schedule:
- cron: "59 12 * * 2"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [java]

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"

0 comments on commit 04e4d22

Please sign in to comment.