aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/backport.yml
blob: aa48cff37c3ddcdf1fa85d920be94efa24e2c016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: Backport
on:
  pull_request:
    types:
      - closed
      - labeled

jobs:
  backport:
    runs-on: ubuntu-18.04
    name: Backport
    steps:
      - name: Backport Bot
        if: contains( join(github.event.pull_request.labels.*.name), 'backport')
        uses: Gaurav0/backport@v1.0.24
        with:
          bot_username: PROJ-BOT
          bot_token: c1c49a5799d0a3a3885db8a4792880cbe509c1d6
          bot_token_key: b01bdebf64595ed77207019258316df1b05ff6ac
          github_token: ${{ secrets.GITHUB_TOKEN }}