brotherton-erpnext/.github/workflows/backport.yml
Frappe PR Bot cfd73ed554
ci: auto backport squashed commits based on labels (#26622) (#26640)
(cherry picked from commit 057a0a9842)

Co-authored-by: Ankush <ankush@iwebnotes.com>
2021-07-26 19:42:19 +05:30

26 lines
586 B
YAML

name: Backport
on:
pull_request_target:
types:
- closed
- labeled
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "ankush/backport"
path: ./actions
ref: develop
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run backport
uses: ./actions/backport
with:
token: ${{secrets.BACKPORT_BOT_TOKEN}}
labelsToAdd: "backport"
title: "{{originalTitle}}"