Skip to content

xamarin/rebase-bot-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project

Note: this project is for internal use only. We do not monitor or accept outside pull requests

Contains an action that is used to launch a build in Azure DevOps which rebases a PR onto the latest HEAD of its target branch

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Onboarding

A federated credential needs to be added for each repo where the Rebase bot runs. Peform the following steps to add the federated credential representing a repo to the VSEng-AzureDevOps-Xamarin-RebaseBot-Identity managed identity

  • Navigate to the federated credentials section for VSEng-AzureDevOps-Xamarin-RebaseBot-Identity
  • Click + Add Credential
  • Select Github Actions deploying Azure resources from the Federated credential scenario dropdown
  • Fill out the rest of the form as follows. Leave any field not specified below set to its default value.
    • Organization: Name of the GitHub organziation such as xamarin
    • Repository: Name of a repo within the organization such as xamarin-macios
    • Entity: Select Branch from the dropdown
    • Branch: main (or the name of the default branch for the repo)
    • Name: Enter a name using the naming format of [Oranization]--[repo-name]--main-branch such as xamarin--xamarin-macios--main-branch

Deploying

Release management of the rebase bot action is done though git tags. At present, the current release can be found at v1.0.

To deploy your changes, please:

  1. Update the tag locally with:
git tag -f $TAG_NAME
  1. Push the tag to the remote (https://github.com/xamarin/rebase-bot-action):
git push --tags --force

Please note that for updating the v1.0 tag (or any other tag you want to push if it already exists), you will need to push --force to overwrite the existing tag.

You can list tags by executing the following command

git tag

To view the contents of a tag execute the following command:

git show $TAG_NAME

Resources

Resource type Resource Resource group
Rebase Build Xamarin Rebase Bot N/A
Telemetry Dashboard PipelineTelemetry
Managed identity VSEng-AzureDevOps-Xamarin-RebaseBot-Identity AzureDevOps

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published