Welcome to mirror list, hosted at ThFree Co, Russian Federation.

backport-trigger.yml « workflows « .github - github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5ebf570721a41861ea30aaef4fbdbb5a5014fa88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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, '@gitbot backport')

    steps:
      - uses: xamarin/backport-bot-action@v1.0
        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 }}