Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create Release on Azure Devops #382

Open
gethari opened this issue Sep 19, 2022 · 0 comments
Open

Unable to create Release on Azure Devops #382

gethari opened this issue Sep 19, 2022 · 0 comments

Comments

@gethari
Copy link

gethari commented Sep 19, 2022

As per the Azure Devops Docs regarding Branch Policies

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant