output "verify" { description = "Checks that prove the settings work and the alerts arrive." value = <<-EOT In a new repository, push a fine-grained personal access token with no permissions: push protection blocks it. Bypass, and the secret_scanning_alert delivery reaches the collector. Revoke the token. In any repository, switch secret scanning off and on again: a security_and_analysis delivery arrives. Run a workflow that uses an action outside the allowed list: it fails before any step runs. gh api orgs/${var.organization}/actions/permissions/workflow # default_workflow_permissions is read EOT }