2023-11-12 13:40:24 -07:00
|
|
|
name: backport
|
2021-10-26 08:45:15 -07:00
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
types: [closed, labeled]
|
|
|
|
jobs:
|
|
|
|
backport:
|
2021-10-30 13:27:54 -07:00
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
pull-requests: write
|
2021-10-26 08:45:15 -07:00
|
|
|
name: Backport Pull Request
|
2023-04-08 04:14:13 -07:00
|
|
|
if: github.event.pull_request.merged
|
2021-10-26 08:45:15 -07:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-04 05:51:40 -07:00
|
|
|
- uses: actions/checkout@v4
|
2021-10-26 08:45:15 -07:00
|
|
|
- name: Create backport PRs
|
2023-10-30 10:23:11 -07:00
|
|
|
uses: korthout/backport-action@v2
|
2024-01-01 06:35:35 -07:00
|
|
|
with:
|
|
|
|
# https://github.com/korthout/backport-action/pull/399
|
|
|
|
experimental: >
|
|
|
|
{
|
|
|
|
"detect_merge_method": true
|
|
|
|
}
|