xamarin-macios/.github/workflows/backport-trigger.yml

25 строки
851 B
YAML
Исходник Обычный вид История

name: Backport Trigger
on:
issue_comment:
types: [created]
jobs:
launchBackportBuild:
runs-on: ubuntu-latest
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/sudo backport')
steps:
Bump xamarin/backport-bot-action from 1.0 to 1.1 (#16367) Bumps [xamarin/backport-bot-action](https://github.com/xamarin/backport-bot-action) from 1.0 to 1.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/xamarin/backport-bot-action/commit/c27c1d5a078354bc53a8b006e04a229d4d1bdd0b"><code>c27c1d5</code></a> Scope env to step</li> <li><a href="https://github.com/xamarin/backport-bot-action/commit/da97d664ca92d33c992dd7b2aa53c4033453f034"><code>da97d66</code></a> Inputs -&gt; secrets</li> <li><a href="https://github.com/xamarin/backport-bot-action/commit/7d536aa14f44812867af71fe314b738666aa5332"><code>7d536aa</code></a> Update inputs -&gt; secrets</li> <li><a href="https://github.com/xamarin/backport-bot-action/commit/69c12fcadc57b83fd82185b16f07e7c3ff06f25d"><code>69c12fc</code></a> Create reusable workflow to replace composite action</li> <li>See full diff in <a href="https://github.com/xamarin/backport-bot-action/compare/v1.0...v1.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=xamarin/backport-bot-action&package-manager=github_actions&previous-version=1.0&new-version=1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 18:49:21 +03:00
- uses: xamarin/backport-bot-action@v1.1
with:
pull_request_url: ${{ github.event.issue.pull_request.url }}
comment_body: ${{ github.event.comment.body }}
comment_author: ${{ github.actor }}
github_repository: ${{ github.repository }}
ado_organization: ${{ secrets.ADO_PROJECTCOLLECTION }}
ado_project: ${{ secrets.ADO_PROJECT }}
backport_pipeline_id: ${{ secrets.BACKPORT_PIPELINEID }}
ado_build_pat: ${{ secrets.ADO_BUILDPAT }}
github_account_pat: ${{ secrets.SERVICEACCOUNT_PAT }}
use_fork: true