Mangesh-Khairnar | df1ba3e | 2020-02-19 19:33:27 +0530 | [diff] [blame] | 1 | name: Backport |
| 2 | on: |
Ankush | 057a0a9 | 2021-07-25 12:49:05 +0530 | [diff] [blame] | 3 | pull_request_target: |
Mangesh-Khairnar | df1ba3e | 2020-02-19 19:33:27 +0530 | [diff] [blame] | 4 | types: |
| 5 | - closed |
| 6 | - labeled |
| 7 | |
| 8 | jobs: |
Ankush | 057a0a9 | 2021-07-25 12:49:05 +0530 | [diff] [blame] | 9 | main: |
| 10 | runs-on: ubuntu-latest |
Ankush | 0bb60b3 | 2021-07-29 17:15:12 +0530 | [diff] [blame] | 11 | timeout-minutes: 60 |
Mangesh-Khairnar | df1ba3e | 2020-02-19 19:33:27 +0530 | [diff] [blame] | 12 | steps: |
Ankush | 057a0a9 | 2021-07-25 12:49:05 +0530 | [diff] [blame] | 13 | - name: Checkout Actions |
| 14 | uses: actions/checkout@v2 |
Mangesh-Khairnar | df1ba3e | 2020-02-19 19:33:27 +0530 | [diff] [blame] | 15 | with: |
Ankush | e906acd | 2021-07-29 13:56:21 +0530 | [diff] [blame] | 16 | repository: "frappe/backport" |
Ankush | 057a0a9 | 2021-07-25 12:49:05 +0530 | [diff] [blame] | 17 | 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: |
| 24 | token: ${{secrets.BACKPORT_BOT_TOKEN}} |
| 25 | labelsToAdd: "backport" |
| 26 | title: "{{originalTitle}}" |