Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/create-parity-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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.