issue-release-workflow: Add support for /cherry-pick command in issue body
Reviewed By: kwk Differential Revision: https://reviews.llvm.org/D119312
This commit is contained in:
parent
5bec1ea7a7
commit
fee491a10a
|
|
@ -19,9 +19,12 @@ on:
|
|||
types:
|
||||
- created
|
||||
- edited
|
||||
issues:
|
||||
types:
|
||||
- opened
|
||||
|
||||
env:
|
||||
COMMENT_BODY: ${{ github.event.comment.body }}
|
||||
COMMENT_BODY: ${{ github.event.action == 'opened' && github.event.issue.body || github.event.comment.body }}
|
||||
|
||||
jobs:
|
||||
backport-commits:
|
||||
|
|
@ -30,7 +33,7 @@ jobs:
|
|||
if: >-
|
||||
(github.repository == 'llvm/llvm-project') &&
|
||||
!startswith(github.event.comment.body, '<!--IGNORE-->') &&
|
||||
contains(github.event.comment.body, '/cherry-pick')
|
||||
contains(github.event.action == 'opened' && github.event.issue.body || github.event.comment.body, '/cherry-pick')
|
||||
steps:
|
||||
- name: Fetch LLVM sources
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
|||
Loading…
Reference in New Issue