From 7ca18cda4bbf0a9d3292c8cdb27879b30a268891 Mon Sep 17 00:00:00 2001 From: Dmytro Novash Date: Mon, 12 Aug 2024 19:39:25 +0300 Subject: [PATCH] codacy --- .codacy.yml | 3 +++ .github/workflows/codacy.yml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .codacy.yml diff --git a/.codacy.yml b/.codacy.yml new file mode 100644 index 0000000..3d0409b --- /dev/null +++ b/.codacy.yml @@ -0,0 +1,3 @@ +--- +exclude_paths: + - "src/includes/**" \ No newline at end of file diff --git a/.github/workflows/codacy.yml b/.github/workflows/codacy.yml index ed15395..52a1bd5 100644 --- a/.github/workflows/codacy.yml +++ b/.github/workflows/codacy.yml @@ -38,7 +38,7 @@ jobs: # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis - name: Run Codacy Analysis CLI - uses: codacy/codacy-analysis-cli-action@d840f886c4bd4edc059706d09c6a1586111c540b + uses: codacy/codacy-analysis-cli-action@master with: # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository # You can also omit the token and run the tools that support default configurations @@ -51,6 +51,7 @@ jobs: # Force 0 exit code to allow SARIF file generation # This will handover control about PR rejection to the GitHub side max-allowed-issues: 2147483647 + continue-on-error: true # Upload the SARIF file generated in the previous step - name: Upload SARIF results file