`API is not accessible` error when push rule fails
In a test project on GitLab.com I had a push rule enabled - Do not allow users to remove git tags with git push
. On attempting to push new commits to the project I continuously got API is not accessible
errors. There was no other information indicating it was the push rule that was failing. Additionally, I was not attempting to delete a tag so the rule shouldn't have failed anyway.
I suspected the push rule so I disabled it and tested the push again - it went successfully.
- Users should not get
API is not accessible
- it's too generic. - The
Do not allow users to remove git tags with git push
push rule should not fail when pushing commits that do not have tags/attempt to delete tags.
cc/ @stanhu I think we've seen this type of issue with push rules before, but I thought it was fixed. Any ideas?