From cd5b5823e5c7f5ffdde56a90a53a119865f115db Mon Sep 17 00:00:00 2001 From: actions-mirror Date: Sun, 8 Mar 2026 02:01:40 +0000 Subject: [PATCH] Initialize with override content --- README.md | 2 -- action.yml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 2 deletions(-) delete mode 100644 README.md create mode 100644 action.yml diff --git a/README.md b/README.md deleted file mode 100644 index b3729c4..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# codeql-action - diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..0075fc2 --- /dev/null +++ b/action.yml @@ -0,0 +1,54 @@ +name: 'CodeQL Analysis (No-Op for Gitea)' +description: 'No-op CodeQL analysis for Gitea - GitHub code scanning not available' +author: 'actions-mirror' + +inputs: + languages: + description: 'Languages to analyze' + required: false + queries: + description: 'Queries to run' + required: false + config-file: + description: 'Path to CodeQL config file' + required: false + db-location: + description: 'Path for CodeQL database' + required: false + ram: + description: 'Amount of memory for analysis' + required: false + threads: + description: 'Number of threads to use' + required: false + checkout_path: + description: 'Path where code is checked out' + required: false + token: + description: 'GitHub token' + required: false + matrix: + description: 'Matrix value' + required: false + category: + description: 'Analysis category' + required: false + +outputs: + sarif-id: + description: 'SARIF upload ID (not applicable for Gitea)' + value: '' + +runs: + using: 'composite' + steps: + - name: CodeQL analysis skipped + shell: bash + run: | + echo "ℹ️ CodeQL analysis skipped on Gitea (using no-op override)" + echo " GitHub's code scanning service is not available on self-hosted Gitea" + echo "" + echo " 💡 Alternatives:" + echo " - SonarQube for code quality analysis" + echo " - Semgrep for security scanning" + echo " - Custom static analysis tools"