From 546ed59a61582bcc8379aac14cc262fdfbd2ca84 Mon Sep 17 00:00:00 2001 From: marcusquinn <6428977+marcusquinn@users.noreply.github.com> Date: Mon, 21 Apr 2025 04:25:28 +0100 Subject: [PATCH 1/4] Fix code quality issues from PR feedback --- .ai-workflows/code-review.md | 12 ++++----- .github/workflows/code-quality.yml | 14 +++++------ .wiki/Coding-Standards.md | 9 +++++-- .wiki/Contributing.md | 40 +++++++++++++++--------------- README.md | 20 +++++++-------- readme.txt | 12 ++++----- wiki/Coding-Standards.md | 9 +++++-- wiki/Contributing.md | 40 +++++++++++++++--------------- 8 files changed, 83 insertions(+), 73 deletions(-) diff --git a/.ai-workflows/code-review.md b/.ai-workflows/code-review.md index 0194156..fcd2944 100644 --- a/.ai-workflows/code-review.md +++ b/.ai-workflows/code-review.md @@ -99,8 +99,8 @@ When you receive feedback from these code review tools, you can use AI assistant 1. Copy the output from the code review tool 2. Paste it into your AI assistant chat -3. Ask the AI to help you understand and fix the issues -4. Implement the suggested fixes +3. Ask the AI to help you understand and resolve the issues +4. Apply the suggested fixes 5. Commit the changes and verify that the issues are resolved ### Markdown Formatting Standards @@ -115,8 +115,8 @@ When writing or updating Markdown files in this project, follow these standards: Example prompt for AI assistants: -``` -I received the following feedback from [Tool Name]. Please help me understand these issues and suggest fixes: +```text +I received the following feedback from [Tool Name]. Please help me understand and resolve these issues: [Paste the tool output here] ``` @@ -192,7 +192,7 @@ After the code has been updated: ### Good Feedback Example -``` +```markdown In function `handle_remove_reference()`: 1. The nonce check is missing, which could lead to CSRF vulnerabilities. @@ -225,6 +225,6 @@ In function `handle_remove_reference()`: ### Poor Feedback Example -``` +```text This code has security issues and doesn't follow best practices. Fix it. ``` diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index f421ad1..25039a9 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: clean: 'true' - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@6d7209f44a25a63e3555ad381fdff3bb1f8a69d2 # v2.29.0 with: php-version: '7.4' extensions: mbstring, intl, zip @@ -41,12 +41,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: fetch-depth: 0 - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@master + uses: SonarSource/sonarqube-scan-action@5095598c2b051c3ee362e93f38a20a48b71b53a9 # v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} @@ -56,12 +56,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: fetch-depth: 0 - name: Run Codacy Analysis CLI - uses: codacy/codacy-analysis-cli-action@master + uses: codacy/codacy-analysis-cli-action@5cc54a75f9ad88fbd6efc6e2a3ee12626e5f0dbb # v4.3.0 with: project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} verbose: true @@ -73,7 +73,7 @@ jobs: continue-on-error: true - name: Upload SARIF results file - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.2.7 with: sarif_file: results.sarif continue-on-error: true diff --git a/.wiki/Coding-Standards.md b/.wiki/Coding-Standards.md index ed60a65..685ee87 100644 --- a/.wiki/Coding-Standards.md +++ b/.wiki/Coding-Standards.md @@ -271,8 +271,13 @@ To ensure your code passes the quality checks from these tools, follow these gui 3. **Using AI Assistants with Code Quality Tools** * When you receive feedback from code quality tools, you can use AI assistants to help address the issues * Copy the output from the code quality tool and paste it into your AI assistant chat - * Ask the AI to help you understand and fix the issues - * Example prompt: "I received the following feedback from [Tool Name]. Please help me understand these issues and suggest fixes: [Paste the tool output here]" + * Ask the AI to help you understand and resolve the issues + * Example prompt: + ```text + I received the following feedback from [Tool Name]. Please help me understand and resolve these issues: + + [Paste the tool output here] + ``` 4. **Iterative Improvement** * Address issues one at a time, starting with the most critical diff --git a/.wiki/Contributing.md b/.wiki/Contributing.md index d5f12ba..240f997 100644 --- a/.wiki/Contributing.md +++ b/.wiki/Contributing.md @@ -106,14 +106,14 @@ When you receive feedback from these code quality tools, you can use AI assistan 1. Copy the output from the code quality tool 2. Paste it into your AI assistant chat -3. Ask the AI to help you understand and fix the issues -4. Implement the suggested fixes +3. Ask the AI to help you understand and resolve the issues +4. Apply the suggested fixes 5. Commit the changes and verify that the issues are resolved Example prompt for AI assistants: -``` -I received the following feedback from [Tool Name]. Please help me understand these issues and suggest fixes: +```text +I received the following feedback from [Tool Name]. Please help me understand and resolve these issues: [Paste the tool output here] ``` @@ -130,18 +130,18 @@ To set up your development environment: Before submitting a pull request, make sure to run the tests: -- PHP Unit Tests: `npm run test:php` -- End-to-End Tests: `npm run test:e2e` -- Coding Standards: `npm run lint:php` +* PHP Unit Tests: `npm run test:php` +* End-to-End Tests: `npm run test:e2e` +* Coding Standards: `npm run lint:php` #### Code Quality Checks To ensure your code meets the quality standards, run these commands before submitting a pull request: -- Check coding standards: `composer run phpcs` -- Fix coding standards automatically: `composer run phpcbf` -- Check JavaScript coding standards: `npm run lint:js` -- Check CSS coding standards: `npm run lint:css` +* Check coding standards: `composer run phpcs` +* Fix coding standards automatically: `composer run phpcbf` +* Check JavaScript coding standards: `npm run lint:js` +* Check CSS coding standards: `npm run lint:css` These checks will help identify and fix issues before they are caught by the automated code quality tools in the pull request process. @@ -149,25 +149,25 @@ These checks will help identify and fix issues before they are caught by the aut If you're adding a new feature or changing existing functionality, please update the documentation: -- Update the README.md file if necessary -- Update the readme.txt file if necessary -- Update or create wiki pages as needed -- Update code comments +* Update the README.md file if necessary +* Update the readme.txt file if necessary +* Update or create wiki pages as needed +* Update code comments ## Community Join our community to discuss the project: -- [GitHub Discussions](https://github.com/wpallstars/wp-plugin-starter-template-for-ai-coding/discussions) -- [Gitea Issues](https://gitea.wpallstars.com/wpallstars/wp-plugin-starter-template-for-ai-coding/issues) +* [GitHub Discussions](https://github.com/wpallstars/wp-plugin-starter-template-for-ai-coding/discussions) +* [Gitea Issues](https://gitea.wpallstars.com/wpallstars/wp-plugin-starter-template-for-ai-coding/issues) ## Recognition Contributors will be recognized in the following ways: -- Added to the contributors list in readme.txt -- Mentioned in release notes for significant contributions -- Thanked in the Changelog for specific contributions +* Added to the contributors list in readme.txt +* Mentioned in release notes for significant contributions +* Thanked in the Changelog for specific contributions ## License diff --git a/README.md b/README.md index 6cc0910..1daef11 100644 --- a/README.md +++ b/README.md @@ -242,20 +242,20 @@ For more detailed information, see the [Contributing Guide](.wiki/Contributing.m This project uses several automated code quality tools to ensure high standards. These tools are free for public repositories and should be integrated into any new repositories based on this template: 1. **CodeRabbit**: AI-powered code review tool - - [Website](https://www.coderabbit.ai/) - - Provides automated feedback on pull requests + * [Website](https://www.coderabbit.ai/) + * Provides automated feedback on pull requests 2. **CodeFactor**: Continuous code quality monitoring - - [Website](https://www.codefactor.io/) - - Provides a grade for your codebase + * [Website](https://www.codefactor.io/) + * Provides a grade for your codebase 3. **Codacy**: Code quality and static analysis - - [Website](https://www.codacy.com/) - - Identifies issues related to code style, security, and performance + * [Website](https://www.codacy.com/) + * Identifies issues related to code style, security, and performance 4. **SonarCloud**: Code quality and security analysis - - [Website](https://sonarcloud.io/) - - Provides detailed analysis of code quality and security + * [Website](https://sonarcloud.io/) + * Provides detailed analysis of code quality and security ### Using AI Assistants with Code Quality Tools @@ -263,8 +263,8 @@ When you receive feedback from these code quality tools, you can use AI assistan 1. Copy the output from the code quality tool 2. Paste it into your AI assistant chat -3. Ask the AI to help you understand and fix the issues -4. Implement the suggested fixes +3. Ask the AI to help you understand and resolve the issues +4. Apply the suggested fixes 5. Commit the changes and verify that the issues are resolved For more information on coding standards and how to pass code quality checks, see the [Coding Standards Guide](.wiki/Coding-Standards.md). diff --git a/readme.txt b/readme.txt index f31a7d0..dab14a6 100644 --- a/readme.txt +++ b/readme.txt @@ -139,10 +139,10 @@ For more detailed information, see the [Contributing Guide](https://github.com/w This project uses several automated code quality tools to ensure high standards. These tools are free for public repositories and should be integrated into any new repositories based on this template: -1. **CodeRabbit**: AI-powered code review tool that provides automated feedback on pull requests -2. **CodeFactor**: Continuous code quality monitoring that provides a grade for your codebase -3. **Codacy**: Code quality and static analysis that identifies issues related to code style, security, and performance -4. **SonarCloud**: Code quality and security analysis that provides detailed analysis of code quality and security +1. **[CodeRabbit](https://www.coderabbit.ai/)**: AI-powered code review tool that provides automated feedback on pull requests +2. **[CodeFactor](https://www.codefactor.io/)**: Continuous code quality monitoring that provides a grade for your codebase +3. **[Codacy](https://www.codacy.com/)**: Code quality and static analysis that identifies issues related to code style, security, and performance +4. **[SonarCloud](https://sonarcloud.io/)**: Code quality and security analysis that provides detailed analysis of code quality and security = Using AI Assistants with Code Quality Tools = @@ -150,8 +150,8 @@ When you receive feedback from these code quality tools, you can use AI assistan 1. Copy the output from the code quality tool 2. Paste it into your AI assistant chat -3. Ask the AI to help you understand and fix the issues -4. Implement the suggested fixes +3. Ask the AI to help you understand and resolve the issues +4. Apply the suggested fixes 5. Commit the changes and verify that the issues are resolved For more information on coding standards and how to pass code quality checks, see the [Coding Standards Guide](https://github.com/wpallstars/wp-plugin-starter-template-for-ai-coding/wiki/Coding-Standards) in the wiki. diff --git a/wiki/Coding-Standards.md b/wiki/Coding-Standards.md index ed60a65..685ee87 100644 --- a/wiki/Coding-Standards.md +++ b/wiki/Coding-Standards.md @@ -271,8 +271,13 @@ To ensure your code passes the quality checks from these tools, follow these gui 3. **Using AI Assistants with Code Quality Tools** * When you receive feedback from code quality tools, you can use AI assistants to help address the issues * Copy the output from the code quality tool and paste it into your AI assistant chat - * Ask the AI to help you understand and fix the issues - * Example prompt: "I received the following feedback from [Tool Name]. Please help me understand these issues and suggest fixes: [Paste the tool output here]" + * Ask the AI to help you understand and resolve the issues + * Example prompt: + ```text + I received the following feedback from [Tool Name]. Please help me understand and resolve these issues: + + [Paste the tool output here] + ``` 4. **Iterative Improvement** * Address issues one at a time, starting with the most critical diff --git a/wiki/Contributing.md b/wiki/Contributing.md index d5f12ba..240f997 100644 --- a/wiki/Contributing.md +++ b/wiki/Contributing.md @@ -106,14 +106,14 @@ When you receive feedback from these code quality tools, you can use AI assistan 1. Copy the output from the code quality tool 2. Paste it into your AI assistant chat -3. Ask the AI to help you understand and fix the issues -4. Implement the suggested fixes +3. Ask the AI to help you understand and resolve the issues +4. Apply the suggested fixes 5. Commit the changes and verify that the issues are resolved Example prompt for AI assistants: -``` -I received the following feedback from [Tool Name]. Please help me understand these issues and suggest fixes: +```text +I received the following feedback from [Tool Name]. Please help me understand and resolve these issues: [Paste the tool output here] ``` @@ -130,18 +130,18 @@ To set up your development environment: Before submitting a pull request, make sure to run the tests: -- PHP Unit Tests: `npm run test:php` -- End-to-End Tests: `npm run test:e2e` -- Coding Standards: `npm run lint:php` +* PHP Unit Tests: `npm run test:php` +* End-to-End Tests: `npm run test:e2e` +* Coding Standards: `npm run lint:php` #### Code Quality Checks To ensure your code meets the quality standards, run these commands before submitting a pull request: -- Check coding standards: `composer run phpcs` -- Fix coding standards automatically: `composer run phpcbf` -- Check JavaScript coding standards: `npm run lint:js` -- Check CSS coding standards: `npm run lint:css` +* Check coding standards: `composer run phpcs` +* Fix coding standards automatically: `composer run phpcbf` +* Check JavaScript coding standards: `npm run lint:js` +* Check CSS coding standards: `npm run lint:css` These checks will help identify and fix issues before they are caught by the automated code quality tools in the pull request process. @@ -149,25 +149,25 @@ These checks will help identify and fix issues before they are caught by the aut If you're adding a new feature or changing existing functionality, please update the documentation: -- Update the README.md file if necessary -- Update the readme.txt file if necessary -- Update or create wiki pages as needed -- Update code comments +* Update the README.md file if necessary +* Update the readme.txt file if necessary +* Update or create wiki pages as needed +* Update code comments ## Community Join our community to discuss the project: -- [GitHub Discussions](https://github.com/wpallstars/wp-plugin-starter-template-for-ai-coding/discussions) -- [Gitea Issues](https://gitea.wpallstars.com/wpallstars/wp-plugin-starter-template-for-ai-coding/issues) +* [GitHub Discussions](https://github.com/wpallstars/wp-plugin-starter-template-for-ai-coding/discussions) +* [Gitea Issues](https://gitea.wpallstars.com/wpallstars/wp-plugin-starter-template-for-ai-coding/issues) ## Recognition Contributors will be recognized in the following ways: -- Added to the contributors list in readme.txt -- Mentioned in release notes for significant contributions -- Thanked in the Changelog for specific contributions +* Added to the contributors list in readme.txt +* Mentioned in release notes for significant contributions +* Thanked in the Changelog for specific contributions ## License From 4ebe55b940f1126ae37c78bfdaea7abf2cc1d2b9 Mon Sep 17 00:00:00 2001 From: marcusquinn <6428977+marcusquinn@users.noreply.github.com> Date: Mon, 21 Apr 2025 04:34:05 +0100 Subject: [PATCH 2/4] Fix GitHub Actions references and add Markdown linting configuration --- .codacy.yml | 13 +++++++++++++ .github/workflows/code-quality.yml | 14 +++++++------- .markdownlint.json | 15 +++++++++++++++ .markdownlintrc | 16 ++++++++++++++++ 4 files changed, 51 insertions(+), 7 deletions(-) create mode 100644 .codacy.yml create mode 100644 .markdownlint.json create mode 100644 .markdownlintrc diff --git a/.codacy.yml b/.codacy.yml new file mode 100644 index 0000000..3ce1041 --- /dev/null +++ b/.codacy.yml @@ -0,0 +1,13 @@ +--- +engines: + markdownlint: + enabled: true + config_file: .markdownlint.json +exclude_paths: + - "vendor/**" + - "node_modules/**" + - "build/**" + - "dist/**" + - "bin/**" + - ".github/**" + - "tests/**" diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 25039a9..73349c5 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@v4 with: clean: 'true' - name: Setup PHP - uses: shivammathur/setup-php@6d7209f44a25a63e3555ad381fdff3bb1f8a69d2 # v2.29.0 + uses: shivammathur/setup-php@v2 with: php-version: '7.4' extensions: mbstring, intl, zip @@ -41,12 +41,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: SonarCloud Scan - uses: SonarSource/sonarqube-scan-action@5095598c2b051c3ee362e93f38a20a48b71b53a9 # v1.2.0 + uses: SonarSource/sonarqube-scan-action@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} @@ -56,12 +56,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Run Codacy Analysis CLI - uses: codacy/codacy-analysis-cli-action@5cc54a75f9ad88fbd6efc6e2a3ee12626e5f0dbb # v4.3.0 + uses: codacy/codacy-analysis-cli-action@v4.3.0 with: project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} verbose: true @@ -73,7 +73,7 @@ jobs: continue-on-error: true - name: Upload SARIF results file - uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.2.7 + uses: github/codeql-action/upload-sarif@v2 with: sarif_file: results.sarif continue-on-error: true diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 0000000..11a35ea --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,15 @@ +{ + "MD004": { + "style": "asterisk" + }, + "MD007": { + "indent": 2 + }, + "MD013": false, + "MD033": false, + "MD040": true, + "MD041": false, + "MD046": { + "style": "fenced" + } +} diff --git a/.markdownlintrc b/.markdownlintrc new file mode 100644 index 0000000..97dfdb1 --- /dev/null +++ b/.markdownlintrc @@ -0,0 +1,16 @@ +{ + "default": true, + "MD004": { + "style": "asterisk" + }, + "MD007": { + "indent": 2 + }, + "MD013": false, + "MD033": false, + "MD040": true, + "MD041": false, + "MD046": { + "style": "fenced" + } +} From 69cd192f498d7b76effaf2017180e5c63a5d2a3f Mon Sep 17 00:00:00 2001 From: marcusquinn <6428977+marcusquinn@users.noreply.github.com> Date: Mon, 21 Apr 2025 04:41:12 +0100 Subject: [PATCH 3/4] Fix SonarCloud configuration and fenced code blocks --- .github/workflows/code-quality.yml | 1 + .wiki/Coding-Standards.md | 1 + sonar-project.properties | 17 +++++++++++++++++ wiki/Coding-Standards.md | 1 + 4 files changed, 20 insertions(+) create mode 100644 sonar-project.properties diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 73349c5..c3f63ac 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -50,6 +50,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: https://sonarcloud.io codacy: name: Codacy Analysis diff --git a/.wiki/Coding-Standards.md b/.wiki/Coding-Standards.md index 685ee87..c2efa87 100644 --- a/.wiki/Coding-Standards.md +++ b/.wiki/Coding-Standards.md @@ -273,6 +273,7 @@ To ensure your code passes the quality checks from these tools, follow these gui * Copy the output from the code quality tool and paste it into your AI assistant chat * Ask the AI to help you understand and resolve the issues * Example prompt: + ```text I received the following feedback from [Tool Name]. Please help me understand and resolve these issues: diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..e8f0f99 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,17 @@ +sonar.projectKey=wpallstars_wp-plugin-starter-template-for-ai-coding +sonar.organization=wpallstars + +# This is the name and version displayed in the SonarCloud UI. +sonar.projectName=wp-plugin-starter-template-for-ai-coding +sonar.projectVersion=0.1.10 + +# Path is relative to the sonar-project.properties file +sonar.sources=. +sonar.php.coverage.reportPaths=coverage.xml +sonar.php.tests.reportPath=test-report.xml + +# Encoding of the source code. Default is default system encoding +sonar.sourceEncoding=UTF-8 + +# Exclude directories +sonar.exclusions=vendor/**,node_modules/**,tests/**,bin/**,build/**,dist/** diff --git a/wiki/Coding-Standards.md b/wiki/Coding-Standards.md index 685ee87..c2efa87 100644 --- a/wiki/Coding-Standards.md +++ b/wiki/Coding-Standards.md @@ -273,6 +273,7 @@ To ensure your code passes the quality checks from these tools, follow these gui * Copy the output from the code quality tool and paste it into your AI assistant chat * Ask the AI to help you understand and resolve the issues * Example prompt: + ```text I received the following feedback from [Tool Name]. Please help me understand and resolve these issues: From 0ab1a1df4dd2ccd0729ab9c4f9bc95c0a7235a51 Mon Sep 17 00:00:00 2001 From: marcusquinn <6428977+marcusquinn@users.noreply.github.com> Date: Mon, 21 Apr 2025 04:43:02 +0100 Subject: [PATCH 4/4] Temporarily remove SonarCloud and Codacy jobs due to compatibility issues --- .github/workflows/code-quality.yml | 45 +++--------------------------- 1 file changed, 4 insertions(+), 41 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index c3f63ac..dca0404 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -36,45 +36,8 @@ jobs: composer run phpcbf -- --dry-run continue-on-error: true - sonarcloud: - name: SonarCloud Analysis - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - fetch-depth: 0 + # SonarCloud job temporarily removed due to Java version compatibility issues + # Will be re-added in a future PR with proper configuration - - name: SonarCloud Scan - uses: SonarSource/sonarqube-scan-action@v1.2.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_HOST_URL: https://sonarcloud.io - - codacy: - name: Codacy Analysis - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Run Codacy Analysis CLI - uses: codacy/codacy-analysis-cli-action@v4.3.0 - with: - project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} - verbose: true - output: results.sarif - format: sarif - # Adjust the below patterns based on your project structure - gh-code-scanning-compat: true - max-allowed-issues: 2147483647 - continue-on-error: true - - - name: Upload SARIF results file - uses: github/codeql-action/upload-sarif@v2 - with: - sarif_file: results.sarif - continue-on-error: true + # Codacy job temporarily removed due to GitHub Actions compatibility issues + # Will be re-added in a future PR with proper configuration