diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index ac4a8bdcc1958..fb4f7ec01729e 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -14,6 +14,7 @@ permissions: jobs: backport: + if: ${{ contains(github.event.comment.body, '/backport to') }} uses: dotnet/arcade/.github/workflows/backport-base.yml@main with: pr_description_template: |