Skip to content

ci(system-file-changes): pass actor/author via env#41433

Merged
argl merged 1 commit intomainfrom
pass-actor-author-via-env
Oct 14, 2025
Merged

ci(system-file-changes): pass actor/author via env#41433
argl merged 1 commit intomainfrom
pass-actor-author-via-env

Conversation

@caugner
Copy link
Copy Markdown
Collaborator

@caugner caugner commented Oct 8, 2025

Description

Updates the system-file-changes workflow to treat GitHub author and actor as untrusted, passing them via environment variable.

Motivation

Apply best practices.

Additional details

Related issues and pull requests

Part of mdn/fred#872:

Treat all github.event.* parameters as untrusted input: Sanitize before use in shell command

@caugner caugner requested a review from a team as a code owner October 8, 2025 08:03
@github-actions github-actions bot added system [PR only] Infrastructure and configuration for the project size/xs [PR only] 0-5 LoC changed labels Oct 8, 2025
@argl argl merged commit 9b0ddeb into main Oct 14, 2025
11 checks passed
@argl argl deleted the pass-actor-author-via-env branch October 14, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs [PR only] 0-5 LoC changed system [PR only] Infrastructure and configuration for the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants