learntocloud / learn-to-cloud

Learn the fundamentals of cloud computing
https://learntocloud.guide
MIT License
4.44k stars 804 forks source link

Fix GitHub Contributors Action #156

Open rishabkumar7 opened 1 year ago

rishabkumar7 commented 1 year ago

Expected Behavior

Run Contributors action weekly to generate an SVG

Actual Behavior

rishabkumar7 commented 1 year ago

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

azgcloudev commented 9 months ago

@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 commented 9 months ago

@rishabkumar7 take a look when you can please

rishabkumar7 commented 9 months ago

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

image

cc: @madebygps

azgcloudev commented 9 months ago

@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 commented 5 months ago

@rishabkumar7

rishabkumar7 commented 5 months ago

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

madebygps commented 4 months ago

@rishabkumar7 what are we doing about this?

rishabkumar7 commented 4 months ago

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