Mangesh-Khairnar | df1ba3e | 2020-02-19 19:33:27 +0530 | [diff] [blame] | 1 | name: Backport |
| 2 | on: |
Frappe PR Bot | cfd73ed | 2021-07-26 19:42:19 +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: |
Frappe PR Bot | cfd73ed | 2021-07-26 19:42:19 +0530 | [diff] [blame^] | 9 | main: |
| 10 | runs-on: ubuntu-latest |
Mangesh-Khairnar | df1ba3e | 2020-02-19 19:33:27 +0530 | [diff] [blame] | 11 | steps: |
Frappe PR Bot | cfd73ed | 2021-07-26 19:42:19 +0530 | [diff] [blame^] | 12 | - name: Checkout Actions |
| 13 | uses: actions/checkout@v2 |
Mangesh-Khairnar | df1ba3e | 2020-02-19 19:33:27 +0530 | [diff] [blame] | 14 | with: |
Frappe PR Bot | cfd73ed | 2021-07-26 19:42:19 +0530 | [diff] [blame^] | 15 | repository: "ankush/backport" |
| 16 | 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}}" |