Files
codeql-action/action.yml
2026-03-08 02:01:40 +00:00

55 lines
1.4 KiB
YAML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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"