A secret appears in plain text in the logs despite masking.
IntermediateTroubleshootingPermissions, Tokens & Secrets
Answer
Likely causes → The printed form differs from the registered value: base64, JSON-escaped, URL-encoded, a substring, or with trailing newline differences; or the value was generated at runtime and never masked.
Diagnose → Find the step and the transformation.
Fix → Rotate immediately, delete the run logs, add ::add-mask:: for runtime and derived values, remove set -x.
Prevent → Never echo secrets; review debug output before enabling ACTIONS_STEP_DEBUG on sensitive workflows.
More on Permissions, Tokens & Secrets
`Error: Resource not accessible by integration` when a workflow tries to comment on a PR.Beginner`remote: Permission to devopsshack/shack-api.git denied to github-actions[bot]. fatal: unable to access 'https://github.com/devopsshack/shack-api/': The requested URL returned error: 403`Beginner`fatal: could not read Username for 'https://github.com': terminal prompts disabled` when cloning a second private repo.BeginnerA secret is empty in the workflow even though it is set in Settings.Beginner`Error: Input required and not supplied: token` on a fork PR.BeginnerReleases created by a workflow do not trigger the `on: release` deploy workflow.Intermediate