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

chore: fix labeler #6692

Merged
merged 1 commit into from
Mar 29, 2022
Merged

chore: fix labeler #6692

merged 1 commit into from
Mar 29, 2022

Conversation

filipsobol
Copy link
Contributor

Currently, labeler doesn't work on PRs made from forks, meaning that any community contributions will not have labels. This issue is caused by how the pull_request trigger works.

Some time ago, GitHub added a new pull_request_target trigger that can safely run Actions against forks, assuming proper configuration.

I updated the workflow to match the example from the official GitHub's actions/labeler repository.

You should not use this trigger for other Actions unless you are absolutely sure it's safe. Otherwise, you can leak the GITHUB_TOKEN. Refer to the pull_request_target documentation for more information.

@github-actions
Copy link
Contributor

💙 vsf-next-demo successfully deployed at

@filipsobol filipsobol merged commit b7dab03 into main Mar 29, 2022
@filipsobol filipsobol deleted the 20220329-fix-labeler-on-prs-from-forks branch March 29, 2022 12:35
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.

2 participants