Skip to content

Update yaml-validator.yaml #12

Update yaml-validator.yaml

Update yaml-validator.yaml #12

name: CodeQL
on:
- push
- pull_request
permissions:
contents: read
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 repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
submodules: "true"
- name: Setup java env
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2
with:
distribution: corretto
java-version: "17"
- name: Initialize CodeQL
env:
token: ${{ secrets.GITGUARDIAN_API_KEY }}
GH_USER: ${{ secrets.DOCKERHUB_USERNAME }}
uses: github/codeql-action/init@1813ca74c3faaa3a2da2070b9b8a0b3e7373a0d8
with:
languages: ${{ matrix.language }}