You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have configured a GitHub webhook in my repo that contains multiple userscripts to that the site can auto-update three of them that I have uploaded there. The ping event was delivered successfully but the actual push fails with a 403 error:
I highly suspect this is caused by me having main as my default branch name. I have found another issue here about the same problem (#1781), but it's locked because of what seems like a major misunderstanding.
Regardless of the maintainers' position re: the name of OpenUserJS.org default branch, it would be great if sync could be fixed to work with repos that have main as their default branch name. AFAICT that would require adding payload.ref !== 'refs/heads/master' && payload.ref !== 'refs/heads/main' here:
Apparently this needs to be clarified thrice... duplicate of #1781.
Also read labels and milestones. It is almost never as easy as a one liner... so don't be naive please. The other issue is open and will be addressed in due time. Do not open duplicate issues or tack on to a closed issue... this policy will be enforced completely in the next few days.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
duplicateThis means already been reported. Always reference in a comment what issue or pull request number…
I have configured a GitHub webhook in my repo that contains multiple userscripts to that the site can auto-update three of them that I have uploaded there. The ping event was delivered successfully but the actual push fails with a 403 error:
I highly suspect this is caused by me having
main
as my default branch name. I have found another issue here about the same problem (#1781), but it's locked because of what seems like a major misunderstanding.Regardless of the maintainers' position re: the name of OpenUserJS.org default branch, it would be great if sync could be fixed to work with repos that have
main
as their default branch name. AFAICT that would require addingpayload.ref !== 'refs/heads/master' && payload.ref !== 'refs/heads/main'
here:OpenUserJS.org/controllers/scriptStorage.js
Lines 2181 to 2185 in 0e6ec48
The text was updated successfully, but these errors were encountered: