GitHub Actions secrets and configuration
Configuration and credentials
A configuration variable describes a setting that may be visible, such as a deployment region. A secret holds a sensitive value. The distinction matters when reviewing logs and deciding which job can access a credential. GitHub’s secret guidance documents availability and use.
For a fictional publishing job, first check whether its expected secret is available for the triggering event. Printing the value to discover why it is missing creates a second problem. Diagnose the configured name and boundary instead.
Trust boundaries
A workflow triggered by an external contribution needs a different trust review from a protected release. Never assume that moving a value into secrets makes arbitrary contributed code safe to execute with it. Practice fork behavior before reviewing a privileged trigger.
All values in this course are teaching fixtures. Do not paste real credentials into the editor. The local model does not encrypt, rotate or revoke secrets in GitHub; production secret administration remains a separate service operation.