Github Push cannot contain secrets
Opened this issue · 0 comments
yangg commented
github 检查更严格了吗,分隔的也不行了
remote: error: GH013: Repository rule violations found for refs/heads/main.
remote:
remote: - GITHUB PUSH PROTECTION
remote: —————————————————————————————————————————
remote: Resolve the following violations before pushing again
remote:
remote: - Push cannot contain secrets
remote:
remote:
remote: (?) Learn how to resolve a blocked push
remote: https://docs.github.com/code-security/secret-scanning/pushing-a-branch-blocked-by-push-protection
remote:
remote: (?) This repository does not have Secret Scanning enabled, but is eligible. Enable Secret Scanning to view and manage detected secrets.
remote: Visit the repository settings page, https://github.com/yangg/carelabel/settings/security_analysis
remote:
remote:
remote: —— GitHub Personal Access Token ——————————————————————
remote: locations:
remote: - commit: 5477a7dd26384ed3c8b3814ee677f755ad27a597
remote: path: src/api/github.ts:34
remote:
remote: (?) To push, remove secret from commit(s) or follow this URL to allow the secret.
remote: https://github.com/yangg/carelabel/security/secret-scanning/unblock-secret/2gakJrAududURpxlhIZdNlX14ZZ