2020-02-19 14:03:27 +00:00
|
|
|
name: Backport
|
|
|
|
on:
|
2021-07-25 07:19:05 +00:00
|
|
|
pull_request_target:
|
2020-02-19 14:03:27 +00:00
|
|
|
types:
|
|
|
|
- closed
|
|
|
|
- labeled
|
|
|
|
|
|
|
|
jobs:
|
2021-07-25 07:19:05 +00:00
|
|
|
main:
|
|
|
|
runs-on: ubuntu-latest
|
2021-07-29 11:45:12 +00:00
|
|
|
timeout-minutes: 60
|
2020-02-19 14:03:27 +00:00
|
|
|
steps:
|
2021-07-25 07:19:05 +00:00
|
|
|
- name: Checkout Actions
|
|
|
|
uses: actions/checkout@v2
|
2020-02-19 14:03:27 +00:00
|
|
|
with:
|
2021-07-29 08:26:21 +00:00
|
|
|
repository: "frappe/backport"
|
2021-07-25 07:19:05 +00:00
|
|
|
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}}"
|