Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 9, 2024

Conversation

eason9487
Copy link
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
Copy link
Contributor

@martynmjones martynmjones left a comment

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
2 checks passed
@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