mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
CI: skip detect-secrets on main temporarily
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -328,6 +328,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
if [ "${{ github.ref }}" = "refs/heads/main" ]; then
|
||||||
|
echo "Skipping detect-secrets on main until the allowlist cleanup lands."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${{ github.event_name }}" = "push" ]; then
|
if [ "${{ github.event_name }}" = "push" ]; then
|
||||||
echo "Running full detect-secrets scan on push."
|
echo "Running full detect-secrets scan on push."
|
||||||
pre-commit run --all-files detect-secrets
|
pre-commit run --all-files detect-secrets
|
||||||
|
|||||||
Reference in New Issue
Block a user