⬆️ Update dependency maven to v3.9.5 #823
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
# This workflow checks out code, performs a Codacy security scan | |
# and integrates the results with the | |
# GitHub Advanced Security code scanning feature. For more information on | |
# the Codacy security scan action usage and parameters, see | |
# https://github.com/codacy/codacy-analysis-cli-action. | |
# For more information on Codacy Analysis CLI in general, see | |
# https://github.com/codacy/codacy-analysis-cli. | |
name: Codacy Security Scan | |
on: | |
push: | |
branches: [ "master", "main" ] | |
pull_request: | |
branches: [ "master", "main" ] | |
schedule: # Run workflow automatically | |
- cron: '15 18 * * 1' # Runs every monday at a quarter past six in the afternoon | |
workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the GitHub Actions Workflow page directly | |
jobs: | |
codacy-security-scan: | |
name: Codacy Security Scan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@main | |
- name: Run Codacy Analysis CLI | |
uses: codacy/codacy-analysis-cli-action@master | |
with: | |
output: results.sarif | |
format: sarif | |
# Adjust severity of non-security issues | |
gh-code-scanning-compat: true | |
# Force 0 exit code to allow SARIF file generation | |
# This will hand over control about PR rejection to the GitHub side | |
max-allowed-issues: 2147483647 | |
# Upload the SARIF file generated in the previous step | |
- name: Upload SARIF results file | |
uses: github/codeql-action/upload-sarif@main | |
with: | |
sarif_file: results.sarif |