blob: 3c5ad071dcaf0d810c0300ee4ee61e5be7645089 [file] [log] [blame]
Mangesh-Khairnardf1ba3e2020-02-19 19:33:27 +05301name: Backport
2on:
Ankush057a0a92021-07-25 12:49:05 +05303 pull_request_target:
Mangesh-Khairnardf1ba3e2020-02-19 19:33:27 +05304 types:
5 - closed
6 - labeled
7
8jobs:
Ankush057a0a92021-07-25 12:49:05 +05309 main:
10 runs-on: ubuntu-latest
Ankush0bb60b32021-07-29 17:15:12 +053011 timeout-minutes: 60
Mangesh-Khairnardf1ba3e2020-02-19 19:33:27 +053012 steps:
Ankush057a0a92021-07-25 12:49:05 +053013 - name: Checkout Actions
14 uses: actions/checkout@v2
Mangesh-Khairnardf1ba3e2020-02-19 19:33:27 +053015 with:
Ankushe906acd2021-07-29 13:56:21 +053016 repository: "frappe/backport"
Ankush057a0a92021-07-25 12:49:05 +053017 path: ./actions
18 ref: develop
19 - name: Install Actions
20 run: npm install --production --prefix ./actions
21 - name: Run backport
22 uses: ./actions/backport
23 with:
Ankush Menat44152122024-01-03 12:50:25 +053024 token: ${{secrets.RELEASE_TOKEN}}
Ankush057a0a92021-07-25 12:49:05 +053025 labelsToAdd: "backport"
26 title: "{{originalTitle}}"