Skip to content

Commit 54d86cb

Browse files
authored
Merge pull request #161 from ufal/chore/backport-action-source-repo
Update backport-action: qualify source PR ref and fix port title
2 parents 1d367aa + b60d373 commit 54d86cb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/port_merged_pull_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ jobs:
4646
token: ${{ steps.app-token.outputs.token }}
4747
# Port PR to other branch (ONLY if labeled with "port to")
4848
- name: Port pull requests
49-
uses: kosarko/backport-action@44f5afb93822657a4de40932496f6fd5dae3a617
49+
uses: kosarko/backport-action@89c144d93ff1747569093da0c4b99a73f55574da
5050
with:
5151
github_token: ${{ steps.app-token.outputs.token }}
5252
# Trigger based on a "port to [branch]" label on PR
5353
# (This label must specify the branch name to port to)
5454
label_pattern: '^port to ([^ ]+)$'
5555
# Title to add to the (newly created) port PR
56-
pull_title: '[Port ${target_branch}] ${pull_title}'
56+
pull_title: '[Port to ${target_branch}] ${pull_title}'
5757
# Description to add to the (newly created) port PR
58-
pull_description: 'Port of #${pull_number} by @${pull_author} to `${target_branch}`.'
58+
pull_description: 'Port of ${source_repo}#${pull_number} by @${pull_author} to `${target_branch}`.'
5959
# Skip any merge commits in the ported PR. This means only non-merge commits are cherry-picked to the new PR
6060
merge_commits: 'skip'
6161
experimental: |

0 commit comments

Comments
 (0)