blob: 1d180f251e1cf2f8e2e77c10d401d94725ec2c98 [file] [log] [blame]
Mangesh-Khairnardf1ba3e2020-02-19 19:33:27 +05301name: Backport
2on:
Frappe PR Botcfd73ed2021-07-26 19:42:19 +05303 pull_request_target:
Mangesh-Khairnardf1ba3e2020-02-19 19:33:27 +05304 types:
5 - closed
6 - labeled
7
8jobs:
Frappe PR Botcfd73ed2021-07-26 19:42:19 +05309 main:
10 runs-on: ubuntu-latest
Mangesh-Khairnardf1ba3e2020-02-19 19:33:27 +053011 steps:
Frappe PR Botcfd73ed2021-07-26 19:42:19 +053012 - name: Checkout Actions
13 uses: actions/checkout@v2
Mangesh-Khairnardf1ba3e2020-02-19 19:33:27 +053014 with:
Frappe PR Bot6a719552021-07-29 14:28:13 +053015 repository: "frappe/backport"
Frappe PR Botcfd73ed2021-07-26 19:42:19 +053016 path: ./actions
17 ref: develop
18 - name: Install Actions
19 run: npm install --production --prefix ./actions
20 - name: Run backport
21 uses: ./actions/backport
22 with:
23 token: ${{secrets.BACKPORT_BOT_TOKEN}}
24 labelsToAdd: "backport"
25 title: "{{originalTitle}}"