fix(deps): update mcr.microsoft.com/devcontainers/python docker tag to v1.1.13 #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code analysis using Codacy | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
branches: | |
- main | |
workflow_dispatch: {} | |
workflow_call: | |
inputs: | |
harden_runner: | |
description: 'Harden the runner' | |
required: false | |
default: true | |
type: boolean | |
permissions: {} | |
concurrency: | |
group: codacy-${{ github.repository }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
codacy: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
id-token: write | |
steps: | |
- name: Harden the runner | |
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0 | |
if: ${{ inputs.harden_runner != false }} | |
with: | |
egress-policy: audit | |
- name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Run Codacy Analysis CLI | |
uses: codacy/codacy-analysis-cli-action@97bf5df3c09e75f5bcd72695998f96ebd701846e # v4.4.5 | |
with: | |
output: codacy.sarif | |
format: sarif | |
gh-code-scanning-compat: true | |
- name: Upload results to code-scanning | |
uses: github/codeql-action/upload-sarif@2d790406f505036ef40ecba973cc774a50395aac # v3.25.13 | |
with: | |
sarif_file: codacy.sarif |