2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-07-31 18:19:40 +00:00

Merge pull request #7608 from VersatusHPC/ci/backport-action

ci: automate backports to release branches
This commit is contained in:
Vinícius Ferrão
2026-07-19 16:35:09 -03:00
committed by GitHub
+23
View File
@@ -0,0 +1,23 @@
name: backport
on:
pull_request_target:
types: [closed, labeled]
permissions:
contents: write
pull-requests: write
jobs:
backport:
name: Backport merged PR
runs-on: ubuntu-latest
if: >
github.event.pull_request.merged == true &&
(
github.event.action == 'closed' ||
startsWith(github.event.label.name, 'backport ')
)
steps:
- uses: actions/checkout@v6
- name: Create backport pull requests
uses: korthout/backport-action@v3