Note: this is used for internal use only.
Contains an action that's responsible for running an Azure DevOps build which backports a PR based on one branch to another branch.
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.
Release management of the backport bot action is done though git tags. At present, the current release can be found at v1.0
.
For Staging, please use the v1.0-alpha
tag or create a new tag specific to your PR, especially if there are multiple changes in flight.
To deploy your changes, please:
- Update the tag locally with:
git tag -f $TAG_NAME
- Push the tag to the remote (https://github.com/xamarin/backport-bot-action):
git push --tags
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.
In order to pick up the changes for Staging, make sure that the backport trigger YAML in your target repo (usually found at https://github.com/xamarin/$REPO_NAME/blob/main/.github/workflows/backport-trigger.yml) points to your desired tag.
For example, https://github.com/xamarin/.github/blob/main/.github/workflows/backport-trigger.yml#L13, the uses line should be updated as follows:
- uses: xamarin/backport-bot-action@$TAG_NAME
where $TAG_NAME
is filled in with the actual name of the tag.