Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAT-17531 DevOps: remove FOSSA AI PR comments and add status check (#201
) * ci(workflows): add support for specifying different Maven profiles in GitHub workflows * build(workflows): update liquibase/build-logic workflows to version v0.7.3 for consistency and bug fixes docs(README): update release version in README to v0.7.3 for accuracy and clarity * build(create-release.yml): update liquibase/build-logic version to v0.7.4 build(extension-attach-artifact-release.yml): update liquibase/build-logic version to v0.7.4 build(extension-release-prepare.yml): update liquibase/build-logic version to v0.7.4 build(extension-release-published.yml): update liquibase/build-logic version to v0.7.4 build(fossa_ai.yml): update liquibase/build-logic version to v0.7.4 build(os-extension-test.yml): update liquibase/build-logic version to v0.7.4 build(pom-release-published.yml): update liquibase/build-logic version to v0.7.4 build(pro-extension-test.yml): update liquibase/build-logic version to v0.7.4 docs(README.md): update build-logic version to v0.7.4 in release instructions * chore(create-release.yml): update sonar-push.yml version to v0.7.5 chore(extension-attach-artifact-release.yml): update build logic scripts to v0.7.5 chore(extension-release-prepare.yml): update extension-release-rollback.yml version to v0.7.5 chore(extension-release-published.yml): update extension-release-prepare.yml version to v0.7.5 chore(fossa_ai.yml): update build logic scripts to v0.7.5 for FOSSA AI detection ci(os-extension-test.yml): update sonar-pull-request.yml version to v0.7.5 ci(pom-release-published.yml): update extension-release-prepare.yml version to v0.7.5 ci(pro-extension-test.yml): update sonar-pull-request.yml version to v0.7.5 docs(README.md): update build-logic version from v0.7.4 to v0.7.5 for new release * chore(fossa_ai.yml): simplify conditional expressions for better readability and maintainability * build(workflows): update workflow files to use version v0.7.4 of build-logic docs(README): update version reference in README to v0.7.4 for consistency * chore(fossa_ai.yml): refactor FOSSA Snippets Detection workflow to only decorate PR if '0 matches' are found in snippets.out file * chore(fossa_ai.yml): refactor FOSSA AI workflow to include detection of AI generated code and decorate PRs accordingly chore(fossa_ai.yml): refactor FOSSA Test workflow to include skipping PR decoration if no issues found * build(create-release.yml): update liquibase/build-logic version to v0.7.5 build(extension-attach-artifact-release.yml): update script files to v0.7.5 version build(extension-release-prepare.yml): update liquibase/build-logic version to v0.7.5 build(extension-release-published.yml): update liquibase/build-logic version to v0.7.5 build(fossa_ai.yml): update fossa configuration to v0.7.5 build(fossa_ai.yml): update fossa scripts to v0.7.5 version build(fossa_ai.yml): update fossa snippets detection script to v0.7.5 build(fossa_ai.yml): update fossa AI detection script to v0.7.5 build(fossa_ai.yml): update fossa test script to v0.7.5 build(os-extension-test.yml): update liquibase/build-logic version to v0.7.5 ci(pom-release-published.yml): update liquibase/build-logic extension-release-prepare.yml to v0.7.5 ci(pro-extension-test.yml): update liquibase/build-logic sonar-pull-request.yml to v0.7.5 docs(README.md): update build-logic version from v0.7.4 to v0.7.5 for new release * refactor(fossa_ai.yml): remove duplicate fs require statements to improve code readability and maintainability * fix(fossa_ai.yml): fix conditional check to create comment only if output does not contain '0 matches' * chore(fossa_ai.yml): refactor script to improve readability and remove redundant code * fix(fossa_ai.yml): fix comment syntax issue in the script block to prevent it from being executed * chore(fossa_ai.yml): refactor GitHub Actions workflow to improve code readability and remove unnecessary conditional checks * chore(fossa_ai.yml): update FOSSA configuration to use version v0.7.4 instead of v0.7.5 chore(fossa_ai.yml): remove unnecessary FOSSA snippets detection decoration step feat(fossa_ai.yml): add support for running FOSSA on pull requests for snippets detection feat(fossa_ai.yml): add support for running FOSSA AI detection on pull requests if AI generated code is detected * refactor(fossa_ai.yml): remove duplicate fs require statements to improve code readability and maintainability * refactor(fossa_ai.yml): refactor script to only execute if 'snippets.out' does not contain '0 matches' to improve efficiency and reduce unnecessary executions. * chore(fossa_ai.yml): refactor script to improve readability and remove duplicate code by moving common logic to the top of the file * chore(fossa_ai.yml): refactor FOSSA Snippets Detection Decoration workflow to run on job failure and include additional information in the comment output * chore(fossa_ai.yml): add echo statement to indicate failure in FOSSA Snippets Detection * fix(fossa_ai.yml): improve error handling in fossa snippets analysis script to provide more informative messages and properly handle file existence and content validation * chore(fossa_ai.yml): add FOSSA_DECORATION environment variable to control decoration in FOSSA snippets analysis chore(fossa_ai.yml): update FOSSA Snippets Detection Decoration step condition to check for FOSSA_DECORATION environment variable before running * fix(fossa_ai.yml): fix conditional statement to correctly check for FOSSA_DECORATION environment variable value before running the action * chore(fossa_ai.yml): remove unnecessary FOSSA decoration scripts and related logic to simplify the workflow and improve readability. * fix(fossa_ai.yml): add error handling to check if output files exist and contain expected content to improve workflow reliability and error reporting * fix(fossa_ai.yml): update condition to include 'AI generated code' in addition to 'GitHub Copilot generated code' for labeling issues generated by AI assistants * build(fossa_ai.yml): update fossa_ai.yml to fetch the latest version of .fossa.yml file from the liquibase/build-logic repository fix(fossa_ai.yml): fix syntax error in the script by adding a missing closing parenthesis after 'AI generated code' condition
- Loading branch information