[PATCH] D119312: issue-release-workflow: Add support for /cherry-pick command in issue body
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 16 22:19:21 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGfee491a10a32: issue-release-workflow: Add support for /cherry-pick command in issue body (authored by tstellar).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119312/new/
https://reviews.llvm.org/D119312
Files:
.github/workflows/issue-release-workflow.yml
Index: .github/workflows/issue-release-workflow.yml
===================================================================
--- .github/workflows/issue-release-workflow.yml
+++ .github/workflows/issue-release-workflow.yml
@@ -19,9 +19,12 @@
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 @@
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 at v2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119312.409492.patch
Type: text/x-patch
Size: 940 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220217/180871b2/attachment.bin>
More information about the llvm-commits
mailing list