27 lines
610 B
YAML
27 lines
610 B
YAML
name: Backport
|
|
on:
|
|
pull_request_target:
|
|
types:
|
|
- closed
|
|
- labeled
|
|
|
|
jobs:
|
|
main:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 60
|
|
steps:
|
|
- name: Checkout Actions
|
|
uses: actions/checkout@v2
|
|
with:
|
|
repository: "frappe/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}}"
|