Initialize with override content

This commit is contained in:
actions-mirror
2026-03-08 02:01:40 +00:00
parent a0558f5231
commit cd5b5823e5
2 changed files with 54 additions and 2 deletions

View File

@@ -1,2 +0,0 @@
# codeql-action

54
action.yml Normal file
View File

@@ -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"