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
A branch that has required policies configured can't be deleted, and requires pull requests (PRs) for all changes.
I have tried enabling
Bypass policies for the Build Service
Also given force push permissions
But I am getting the following response
! [remote rejected] HEAD -> main (TF402455: Pushes to this branch are not permitted; you must use a pull request to update this branch.)
shortMessage: 'Command failed with exit code 1: git push --tags https://dev.azure.com/**** HEAD:main',
command: 'git push --tags https://dev.azure.com/**** HEAD:main',
escapedCommand: 'git push --tags "[https://dev.azure.com/****"
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: '',
' ! [remote rejected] HEAD -> main (TF402455: Pushes to this branch are not permitted; you must use a pull request to update this branch.)\n' +
"error: failed to push some refs to '[https://dev.azure.com/*******"]
failed: true,
timedOut: false,
isCanceled: false,
killed: false,
pluginName: '@semantic-release/git'
The text was updated successfully, but these errors were encountered:
As per the Azure Devops Docs regarding Branch Policies
I have tried enabling
But I am getting the following response
The text was updated successfully, but these errors were encountered: