Skip to content

Commit

Permalink
apply review hints
Browse files Browse the repository at this point in the history
  • Loading branch information
tasso94 committed Apr 12, 2024
1 parent 4586af2 commit 02d15db
Show file tree
Hide file tree
Showing 6 changed files with 445 additions and 851 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,21 @@ When enabled, the action detects the method used to merge the pull request.

By default, the action always cherry-picks the commits from the pull request.

### Backport to a downstream

Backport PR to another repository then the workflow runs on.

##### `downstream_repo`

Define if you want to backport to another repository then the workflow runs on.

##### `downstream_owner`

Define if you want to backport to another owner then the owner of the repository the workflow runs on.

Only specify together with the `downstream_repo` property.
If undefined, uses the owner of the repository the workflow runs on.

### `github_token`

Default: `${{ github.token }}`
Expand Down
19 changes: 8 additions & 11 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,19 @@ inputs:
By default, the action always cherry-picks the commits from the pull request.
#### `remote_owner`
#### `downstream_repo`
...
Define if you want to backport to another repository then the workflow runs on.
#### `remote_repo`
#### `downstream_owner`
....
Define if you want to backport to another owner then the owner of the repository the workflow runs on.
Only specify together with the `downstream_repo` property.
If undefined, uses the owner of the repository the workflow runs on.
default: >
{
"detect_merge_method": false,
"remote_owner": "my-owner",
"remote_repo": "my-repo"
"detect_merge_method": false
}
github_token:
description: >
Expand Down Expand Up @@ -97,10 +98,6 @@ inputs:
Please refer to this action's README for all available placeholders.
default: >-
[Backport ${target_branch}] ${pull_title}
pull_branchname:
description: ""
default: >-
backport-${pull_number}-to-${target_branch}
target_branches:
description: >
The action will backport the pull request to each specified target branch (space-delimited).
Expand Down
Loading

0 comments on commit 02d15db

Please sign in to comment.