Raise an error when trying to push to a protected branch without sufficient permissions #88
Labels
area/plugin
Plugin-related issue or feature request
bug
Something isn't working
kind/customer-request
Requested by one or more customers
Issue description
Issue reported via Slack:
"We use GitLab and wanted to sync flows to it.
Long story short, the default branch we use is protected and allows only maintainers to push.
I created an Access Token with developer access and tried to run the Push Flow task. it was going through good, no errors. But nothing appeared in git.
I figured it was an issue with permissions to push to the branch.
It would be great if the PushFlows task would drop an error instead of finishing it successfully.
flow code i used:"
The text was updated successfully, but these errors were encountered: