Skip to content

Commit

Permalink
Create backport.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
T0biii authored Mar 13, 2024
1 parent cf9cb79 commit 9b73755
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Backport merged pull request

on: # yamllint disable-line rule:truthy
pull_request_target:
types: [closed, labeled]
permissions:
contents: write # so it can comment
pull-requests: write # so it can create pull requests
jobs:
backport:
name: Backport pull request
runs-on: ubuntu-latest
# Don't run on closed unmerged pull requests
if: github.event.pull_request.merged
steps:
- uses: actions/checkout@v4
- name: Create backport pull requests
uses: korthout/backport-action@v2

0 comments on commit 9b73755

Please sign in to comment.