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 GitHub Contributors Action #156

Open
rishabkumar7 opened this issue May 1, 2023 · 9 comments
Open

Fix GitHub Contributors Action #156

rishabkumar7 opened this issue May 1, 2023 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@rishabkumar7
Copy link
Collaborator

Expected Behavior

Run Contributors action weekly to generate an SVG

Actual Behavior

@rishabkumar7 rishabkumar7 added the bug Something isn't working label May 1, 2023
@rishabkumar7 rishabkumar7 self-assigned this May 1, 2023
@rishabkumar7
Copy link
Collaborator Author

I think this is the blocker
https://github.com/orgs/community/discussions/23064

@azgcloudev
Copy link
Contributor

@rishabkumar7 Not sure, if this is the correct fix, but in my main branch I was able to get the action successfull by enabling the following in the settings of the repo:

imagen

@madebygps
Copy link
Collaborator

@rishabkumar7 take a look when you can please

@rishabkumar7
Copy link
Collaborator Author

thanks @azgcloudev that's what I was looking for, but it is checked already in the settings:
image
cc: @madebygps

@azgcloudev
Copy link
Contributor

@rishabkumar7

So I was looking at the error, and it says that it needs a PR to make changes.

As per the action github, I was reading a issue, and the owner mentioned that it creates a PR using the default branch of the repo because of the github API.

When I repro it did worked for me, and my branch is not Protected, is staging protected?

@madebygps
Copy link
Collaborator

@rishabkumar7

@rishabkumar7
Copy link
Collaborator Author

@azgcloudev yeah, staging is protected hence it creates a PR and can't just merge it.

@madebygps
Copy link
Collaborator

@rishabkumar7 what are we doing about this?

@rishabkumar7
Copy link
Collaborator Author

@madebygps I am trying to see if there is a workaround. Will disable the action for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants