-
Notifications
You must be signed in to change notification settings - Fork 253
27 lines (24 loc) · 874 Bytes
/
probot.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Probot
permissions: read-all
on:
pull_request:
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
required-jobs:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
timeout-minutes: 361 # in case something is wrong with the internal timeout
steps:
- uses: XuehaoSun/probot@0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
job: check-group
interval: 180 # seconds
timeout: 360 # minutes
maintainers: "[XuehaoSun](https://github.com/XuehaoSun)"
owner: "[chensuyue](https://github.com/chensuyue) or [XuehaoSun](https://github.com/XuehaoSun)"