Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit cb4f60a

Browse files
feat: create parity issue workflow (#852)
1 parent 74e3778 commit cb4f60a

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: create-parity-issue.yml
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
prDescription:
7+
description: PR description
8+
default: 'No description provided'
9+
required: true
10+
prNumber:
11+
description: PR number
12+
required: true
13+
prTitle:
14+
description: PR title
15+
required: true
16+
sourceRepo:
17+
description: repository PR is sourced from
18+
required: true
19+
20+
jobs:
21+
createIssue:
22+
name: create issue
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- uses: actions/checkout@v2
27+
28+
- uses: joshgummersall/create-issue@main
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
with:
32+
title: |
33+
port: ${{ github.event.inputs.prTitle }} (#${{ github.event.inputs.prNumber }})
34+
labels: |
35+
["parity", "needs-triage", "ExemptFromDailyDRIReport"]
36+
body: |
37+
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 }}`.
38+
39+
<blockquote>
40+
${{ github.event.inputs.prDescription }}
41+
</blockquote>
42+
43+
Please review and, if necessary, port the changes.

0 commit comments

Comments
 (0)