Skip to content

chore(deps): update dependency prettier to v3.9.4 #589

chore(deps): update dependency prettier to v3.9.4

chore(deps): update dependency prettier to v3.9.4 #589

Workflow file for this run

# Workflow for advanced CodeQL setup used for scanning Java/JavaScript/TypeScript/Vue/Python based source files
name: codeql
env:
# Whether to analyze Java code or not (only set to true if repo has Java source code)
analyze-java: true
# Build mode to use for analysis of Java code (e.g. none, autobuild, manual)
java-buildmode: autobuild
# Temurin JDK version to use for autobuild (only when java-buildmode is set to autobuild)
java-version: 21
# Whether to analyze JavaScript/TypeScript/Vue code or not (only set to true if repo has Javascript/Typescript/Vue source code)
analyze-javascript-typescript-vue: false
# Whether to analyze Python code or not (only set to true if repo has Python source code)
analyze-python: false
# Query set to use when analyzing the source code (e.g. default, security-extended, security-and-quality)
analysis-query: security-and-quality
on:
pull_request:
push:
branches:
- "main" # Runs on main in order to keep the regular scanning by GitHub working
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
codeql-check-changed-files:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
outputs:
java: ${{ steps.filter.outputs.java }}
javascript-typescript-vue: ${{ steps.filter.outputs.javascript-typescript-vue }}
python: ${{ steps.filter.outputs.python }}
analyze-java: ${{ steps.analyze-flags.outputs.analyze-java }}
analyze-javascript-typescript-vue: ${{ steps.analyze-flags.outputs.analyze-javascript-typescript-vue }}
analyze-python: ${{ steps.analyze-flags.outputs.analyze-python }}
steps:
- uses: it-at-m/lhm_actions/action-templates/actions/action-checkout@877aafa9f0732cbc91819b60d237c351ea88f95c # v1.0.34
- id: filter
uses: it-at-m/lhm_actions/action-templates/actions/action-filter@877aafa9f0732cbc91819b60d237c351ea88f95c # v1.0.34
- id: analyze-flags
run: |
{
echo "analyze-java=${{ env.analyze-java }}";
echo "analyze-javascript-typescript-vue=${{ env.analyze-javascript-typescript-vue }}";
echo "analyze-python=${{ env.analyze-python }}";
} >> "$GITHUB_OUTPUT"
codeql-java:
if: ${{ needs.codeql-check-changed-files.outputs.analyze-java == 'true' && (github.ref == 'refs/heads/main' || needs.codeql-check-changed-files.outputs.java == 'true') }}
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
needs: codeql-check-changed-files
strategy:
fail-fast: false
matrix:
build-path: ["./eai"] # JSON array formatted as string, contains the paths to the java projects to build
steps:
- uses: it-at-m/lhm_actions/action-templates/actions/action-codeql@877aafa9f0732cbc91819b60d237c351ea88f95c # v1.0.34
with:
codeql-language: java-kotlin
codeql-buildmode: ${{ env.java-buildmode }}
codeql-query: ${{ env.analysis-query }}
java-version: ${{ env.java-version }}
path: ${{ matrix.build-path }}
codeql-javascript-typescript-vue:
if: ${{ needs.codeql-check-changed-files.outputs.analyze-javascript-typescript-vue == 'true' && (github.ref == 'refs/heads/main' || needs.codeql-check-changed-files.outputs.javascript-typescript-vue == 'true') }}
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
needs: codeql-check-changed-files
steps:
- uses: it-at-m/lhm_actions/action-templates/actions/action-codeql@877aafa9f0732cbc91819b60d237c351ea88f95c # v1.0.34
with:
codeql-language: javascript-typescript
codeql-query: ${{ env.analysis-query }}
codeql-python:
if: ${{ needs.codeql-check-changed-files.outputs.analyze-python == 'true' && (github.ref == 'refs/heads/main' || needs.codeql-check-changed-files.outputs.python == 'true') }}
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
needs: codeql-check-changed-files
steps:
- uses: it-at-m/lhm_actions/action-templates/actions/action-codeql@877aafa9f0732cbc91819b60d237c351ea88f95c # v1.0.34
with:
codeql-language: python
codeql-query: ${{ env.analysis-query }}