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

[Bug][Contributor workflow] Github actions labeler doesn't work for forks #1092

Closed
jpmcb opened this issue Apr 15, 2020 · 3 comments · Fixed by #1338
Closed

[Bug][Contributor workflow] Github actions labeler doesn't work for forks #1092

jpmcb opened this issue Apr 15, 2020 · 3 comments · Fixed by #1338
Labels
kind/bug A bug in cobra; unintended behavior

Comments

@jpmcb
Copy link
Collaborator

jpmcb commented Apr 15, 2020

I've noticed that the labeler Github action isn't working. Here's an example

It looks like the actions/labeler Github action won't work with PRs opened from forks (for security reasons): actions/labeler#12

And looks like this was recently clarified: actions/labeler@2b75d22

A few workarounds:

@xchapter7x I know you looked at the labeler previously in #1074 - Any thoughts here?

@jharshman jharshman added kind/bug A bug in cobra; unintended behavior needs investigation labels Apr 16, 2020
@xchapter7x
Copy link
Contributor

seems like the periodic-labeler would wrap what we have now, and make it work as intended.

the boring-cyborg might be better long term, as it seems to have more logic and features.

id maybe implement periodic-labeler as a bugfix, and then explore future enhancements to the feature set with things like boring-cyborg or anything else that might be available in the marketplace.

xchapter7x added a commit to xchapter7x/cobra that referenced this issue Apr 21, 2020
this replaces the default labeler as it
does not label PRs from forks properly.

with periodic-labeler it should apply labels on
a cron to any PR and resolve the below bug:

spf13#1092
@xchapter7x
Copy link
Contributor

This PR should address this bug: #1097

jharshman pushed a commit that referenced this issue May 8, 2020
* replace labeler action with periodic-labeler

this replaces the default labeler as it
does not label PRs from forks properly.

with periodic-labeler it should apply labels on
a cron to any PR and resolve the below bug:

#1092
@github-actions
Copy link

This issue is being marked as stale due to a long period of inactivity

muscliary pushed a commit to muscliary/cobra that referenced this issue Sep 12, 2023
* replace labeler action with periodic-labeler

this replaces the default labeler as it
does not label PRs from forks properly.

with periodic-labeler it should apply labels on
a cron to any PR and resolve the below bug:

spf13/cobra#1092
desdeel2d0m added a commit to desdeel2d0m/cobra that referenced this issue Jul 1, 2024
* replace labeler action with periodic-labeler

this replaces the default labeler as it
does not label PRs from forks properly.

with periodic-labeler it should apply labels on
a cron to any PR and resolve the below bug:

spf13/cobra#1092
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in cobra; unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants