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: - 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 }} use_fork: true