-
Notifications
You must be signed in to change notification settings - Fork 279
43 lines (37 loc) · 1.31 KB
/
create-parity-issue.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: create-parity-issue.yml
on:
workflow_dispatch:
inputs:
prDescription:
description: PR description
default: 'No description provided'
required: true
prNumber:
description: PR number
required: true
prTitle:
description: PR title
required: true
sourceRepo:
description: repository PR is sourced from
required: true
jobs:
createIssue:
name: create issue
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: joshgummersall/create-issue@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
title: |
port: ${{ github.event.inputs.prTitle }} (#${{ github.event.inputs.prNumber }})
labels: |
["parity", "needs-triage", "ExemptFromDailyDRIReport"]
body: |
The changes in [${{ github.event.inputs.prTitle }} (#${{ github.event.inputs.prNumber }})](https://github.com/${{ github.event.inputs.sourceRepo }}/pull/${{ github.event.inputs.prNumber }}) may need to be ported to maintain parity with `${{ github.event.inputs.sourceRepo }}`.
<blockquote>
${{ github.event.inputs.prDescription }}
</blockquote>
Please review and, if necessary, port the changes.