fix: fix gha no-inherit-reviewers input

This commit is contained in:
Andrea Lamparelli 2023-06-27 23:22:55 +02:00
parent a30b6d6290
commit 8b586ccdfe

View file

@ -2,49 +2,49 @@ name: "Backporting GitHub Action"
description: "GitHub action providing an automated way to backport pull requests from one branch to another" description: "GitHub action providing an automated way to backport pull requests from one branch to another"
inputs: inputs:
dry-run: dry-run:
description: "If enabled the tool does not create any pull request nor push anything remotely." description: "If enabled the tool does not create any pull request nor push anything remotely"
required: false required: false
default: "false" default: "false"
auth: auth:
description: "GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)." description: "GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)"
default: ${{ github.token }} default: ${{ github.token }}
required: false required: false
git-user: git-user:
description: "Local git user name." description: "Local git user name"
default: "GitHub" default: "GitHub"
required: false required: false
git-email: git-email:
description: "Local git user email." description: "Local git user email"
default: "noreply@github.com" default: "noreply@github.com"
required: false required: false
pull-request: pull-request:
description: "URL of the pull request to backport, e.g., https://github.com/lampajr/backporting/pull/1." description: "URL of the pull request to backport, e.g., https://github.com/lampajr/backporting/pull/1"
required: true required: true
target-branch: target-branch:
description: "Branch where the pull request must be backported to." description: "Branch where the pull request must be backported to"
required: true required: true
title: title:
description: "Backporting PR title. Default is the original PR title prefixed by the target branch." description: "Backporting PR title. Default is the original PR title prefixed by the target branch"
required: false required: false
body: body:
description: "Backporting PR body. Default is the original PR body prefixed by `backport: <original-pr-link>`." description: "Backporting PR body. Default is the original PR body prefixed by `backport: <original-pr-link>`"
required: false required: false
body-prefix: body-prefix:
description: "Backporting PR body prefix. Default is `backport: <original-pr-link>`" description: "Backporting PR body prefix. Default is `backport: <original-pr-link>`"
required: false required: false
bp-branch-name: bp-branch-name:
description: "Backporting PR branch name. Default is auto-generated from commit." description: "Backporting PR branch name. Default is auto-generated from commit"
required: false required: false
reviewers: reviewers:
description: "Comma separated list of reviewers for the backporting pull request." description: "Comma separated list of reviewers for the backporting pull request"
required: false required: false
assignees: assignees:
description: "Comma separated list of reviewers for the backporting pull request." description: "Comma separated list of reviewers for the backporting pull request"
required: false required: false
inherith-reviewers: no-inherit-reviewers:
description: "If enabled and reviewers option is empty then inherit them from original pull request." description: "Considered only if reviewers is empty, if true keep reviewers as empty list, otherwise inherit from original pull request"
required: false required: false
default: "true" default: "false"
runs: runs:
using: node16 using: node16