Skip to content

Avoid running untrusted input as shell commands in the GitHub Actions#418

Merged
eason9487 merged 1 commit into
trunkfrom
dev/fix-gha-untrusted-input
May 9, 2024
Merged

Avoid running untrusted input as shell commands in the GitHub Actions#418
eason9487 merged 1 commit into
trunkfrom
dev/fix-gha-untrusted-input

Conversation

@eason9487

Copy link
Copy Markdown
Member

Changes proposed in this Pull Request:

This PR avoids running untrusted input as shell commands in the GitHub Actions.

Ref: https://securitylab.github.com/research/github-actions-untrusted-input/

Checks:

  • Does your code follow the WordPress coding standards?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully run tests with your changes locally?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Detailed test instructions:

Please refer to the PR woocommerce/google-listings-and-ads#2394 that fixes the same issue.

Changelog entry

@eason9487 eason9487 requested a review from a team May 9, 2024 06:32
@eason9487 eason9487 self-assigned this May 9, 2024
@github-actions github-actions Bot added the changelog: dev Developer-facing only change. label May 9, 2024

@martynmjones martynmjones left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @eason9487, thanks for the changes.

I'm not seeing any other references so based on our discussion on Slack this PR LGTM ✅

@eason9487 eason9487 merged commit d755f71 into trunk May 9, 2024
@eason9487 eason9487 deleted the dev/fix-gha-untrusted-input branch May 9, 2024 09:15
@puntope puntope mentioned this pull request May 14, 2024
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: dev Developer-facing only change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants