You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Code Quality] Fix broken docs/safe-outputs.md link in dangerous-permissions compile error #50374
The dangerous-permissions compile-time error message links to a documentation path that does not exist in the repository, causing user friction at a security-relevant decision point.
Current State
pkg/workflow/dangerous_permissions_validation.go line 85, in formatDangerousPermissionsError:
lines=append(lines, "which uses a scoped GitHub App token. See: docs/safe-outputs.md")
docs/safe-outputs.md does not exist anywhere in the repo. Every comparable validator uses the canonical published reference URL instead, e.g.:
These all point to https://github.github.com/gh-aw/reference/safe-outputs/.
Suggested Changes
Replace the dead relative path in pkg/workflow/dangerous_permissions_validation.go:85 with the canonical published reference URL https://github.github.com/gh-aw/reference/safe-outputs/, matching the pattern used elsewhere in the codebase.
Activity