Skip to content

CI workflow for Surge and a11y is broken #12601

Description

@rebeccaalpert

Describe the enhancement or change
GitHub seems like it's started refusing some CI workflows from forks in PF React.

Error: Refusing to check out fork pull request code from a 'pull_request_target' workflow. This workflow runs with the base repository's GITHUB_TOKEN, secrets, default-branch cache scope, and runner access. Fetching and executing a fork's code in that trusted context commonly leads to "pwn request" vulnerabilities. To opt in, review the risks at[ https://gh.io/securely-using-pull_request_target](https://gh.io/securely-using-pull_request_target) and set 'allow-unsafe-pr-checkout: true' on the actions/checkout step.

We could try using pull_request instead (this requires lower permissions) or some other option.


Jira Issue: PF-4511

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions