Skip to content

Commit

Permalink
ci: backport job
Browse files Browse the repository at this point in the history
  • Loading branch information
aceforeverd committed Dec 30, 2023
1 parent 6c5c370 commit 7e06bc1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: backport

# backport by issue a label (backport <target branch>) on merged PR

on:
pull_request_target:
types: [closed, labeled]
jobs:
backport:
permissions:
contents: write # so it can comment
pull-requests: write # so it can create pull requests
name: Backport Pull Request
if: github.event.pull_request.merged
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Create backport PRs
uses: korthout/backport-action@v2

0 comments on commit 7e06bc1

Please sign in to comment.