Initialize with override content
This commit is contained in:
54
action.yml
Normal file
54
action.yml
Normal 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"
|
||||||
Reference in New Issue
Block a user