Skip to content

Commit

Permalink
Add the Backport GitHub Action workflow, which automatically backpo…
Browse files Browse the repository at this point in the history
…rts PRs when you add the backport label (#62)

* Add the `Backport` GitHub Action workflow, which automatically backports PRs when you add the backport label

* Enable the `Backport` workflow for pull requests that were made from forks

See tibdex/backport#77 for details
  • Loading branch information
DilumAluthge authored Feb 3, 2022
1 parent 8cf1c26 commit aa51c9b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Backport
on:
pull_request_target:
types:
- closed
- labeled
jobs:
backport:
runs-on: ubuntu-18.04
name: Backport
if: github.event.pull_request.merged
steps:
- name: Backport
uses: tibdex/backport@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit aa51c9b

Please sign in to comment.