ci: fix RC security gate packaging and artifacts
Security Quality Gate / npm audit, Bandit, pip-audit, detect-secrets (pull_request) Failing after 17m49s

This commit is contained in:
2026-07-13 00:57:54 +08:00
parent a3bb78e06b
commit 1c727a37cc
2 changed files with 13 additions and 2 deletions
+10 -2
View File
@@ -114,10 +114,18 @@ jobs:
fi
exit "$failed"
- name: Upload security scan artifacts
if: always()
- name: Upload security scan artifacts (GitHub)
if: ${{ always() && github.server_url == 'https://github.com' }}
uses: actions/upload-artifact@v4
with:
name: security-quality-gate
path: security-artifacts/
if-no-files-found: warn
- name: Upload security scan artifacts (Gitea/GHES)
if: ${{ always() && github.server_url != 'https://github.com' }}
uses: actions/upload-artifact@v3
with:
name: security-quality-gate
path: security-artifacts/
if-no-files-found: warn
+3
View File
@@ -11,3 +11,6 @@ dependencies = [
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/yuqei_sdk"]