Skip to content

[Backport scarthgap-next] 2024-10-03_01-35-48_master-next_aws-sdk-cpp #35

[Backport scarthgap-next] 2024-10-03_01-35-48_master-next_aws-sdk-cpp

[Backport scarthgap-next] 2024-10-03_01-35-48_master-next_aws-sdk-cpp #35

name: Backport merged pull request (multiple commits possible)
on:
pull_request_target:
types: [closed]
permissions:
contents: write
pull-requests: write
jobs:
backport:
name: Backport pull request
runs-on: ubuntu-22.04
# Only run when pull request is merged and labeled 'backport'
if: (github.event.pull_request.merged == true ) &&
(contains(github.event.pull_request.labels.*.name, 'backport'))
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Create backport pull requests
uses: korthout/[email protected]
with:
target_branches: kirkstone-next scarthgap-next styhead-next
# copy all labels (backport labels are automatically skipped)
copy_labels_pattern: .+
github_token: ${{ secrets.BOT_CREDENTIAL }}