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

fix: ci checks out wrong code #24

Merged
merged 1 commit into from
Sep 27, 2023
Merged

fix: ci checks out wrong code #24

merged 1 commit into from
Sep 27, 2023

Conversation

MoLow
Copy link
Member

@MoLow MoLow commented Sep 27, 2023

see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target

This event runs in the context of the base of the pull request, rather than in the context of the merge commit, as the pull_request event does. This prevents execution of unsafe code from the head of the pull request that could alter your repository or steal any secrets you use in your workflow. This event allows your workflow to do things like label or comment on pull requests from forks. Avoid using this event if you need to build or run code from the pull request.

@MoLow MoLow merged commit 389c9e8 into main Sep 27, 2023
4 of 6 checks passed
@MoLow MoLow deleted the fix-gh-actions branch September 27, 2023 05:53
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.

1 participant