Skip to content

Fix forgeable context usage in welcome workflow (github.actor → safe event fields) #72

@yada

Description

@yada

Issue reported by SonarQube Inwelcome-new-users.yml workflow:

The welcome workflow currently relies on github.actor to filter bot users.
This is flagged by GitHub security guidance as a forgeable context value, especially when using pull_request_target.

This issue proposes switching to non-forgeable fields:
github.event.pull_request.user.login
github.event.issue.user.login

The goal is to preserve existing behavior while resolving the security warning.

Metadata

Metadata

Assignees

Labels

github_actionsPull requests that update GitHub Actions code

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions