feat: pull request backporting

feat: backport still open pull requests
This commit is contained in:
Andrea Lamparelli 2023-01-05 11:41:14 +01:00
commit b3936e019a
53 changed files with 48467 additions and 0 deletions

25
action.yml Normal file
View file

@ -0,0 +1,25 @@
name: "Backporting GitHub Action"
description: "GitHub action providing an automated way to backport pull requests from one branch to another"
inputs:
dry-run:
description: "If enabled the tool does not create any pull request nor push anything remotely."
required: false
default: "false"
auth:
description: "GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)."
default: ${{ github.token }}
required: false
pull-request:
description: "URL of the pull request to backport, e.g., https://github.com/lampajr/backporting/pull/1."
required: true
target-branch:
description: "Branch where the pull request must be backported to."
required: true
runs:
using: node16
main: dist/gha/index.js
branding:
icon: 'git-merge'
color: 'blue'