File: backport.yml

package info (click to toggle)
authselect 1.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,384 kB
  • sloc: ansic: 7,757; sh: 477; makefile: 352; python: 164; xml: 24
file content (24 lines) | stat: -rw-r--r-- 520 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Backport
on:
  pull_request_target:
    types:
      - closed
      - labeled
jobs:
  backport:
    name: Backport
    runs-on: ubuntu-latest
    if: >
      github.event.pull_request.merged
      && (
        github.event.action == 'closed'
        || (
          github.event.action == 'labeled'
          && contains(github.event.label.name, 'backport-to-')
        )
      )
    steps:
      - uses: next-actions/backport@master
        with:
          user: sssd-bot
          token: ${{ secrets.BOT_TOKEN }}