2020-12-13 00:36:16 +03:00
|
|
|
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:
|
2022-10-17 18:49:21 +03:00
|
|
|
- uses: xamarin/backport-bot-action@v1.1
|
2020-12-13 00:36:16 +03:00
|
|
|
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 }}
|
2021-01-26 23:41:55 +03:00
|
|
|
use_fork: true
|