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

Use pull_request_target on GitHub Actions to allow public forks to run CI without approval #90

Merged
merged 2 commits into from
May 22, 2023

Conversation

necojackarc
Copy link
Owner

@necojackarc necojackarc commented May 22, 2023

Note: Workflows triggered by pull_request_target events are run in the context of the base branch. Since the base branch is considered trusted, workflows triggered by these events will always run, regardless of approval settings. For more information about the pull_request_target event, see "Events that trigger workflows."

See https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks for more details.

Also, add Node v18 to the CI target.

@necojackarc necojackarc changed the title Run CI on Node v18, too Use pull_request_target on GitHub Actions to allow public forks to run CI without approval May 22, 2023
@necojackarc necojackarc marked this pull request as ready for review May 22, 2023 16:41
@necojackarc necojackarc merged commit ba38293 into master May 22, 2023
@necojackarc necojackarc deleted the allow-public-forks-to-run-ci branch May 22, 2023 16:41
This was referenced May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant