2021-11-15 14:27:42 +00:00
|
|
|
name: Probot
|
|
|
|
|
|
|
|
on:
|
|
|
|
issues:
|
2021-11-16 18:23:57 +00:00
|
|
|
types: [labeled]
|
2022-09-16 12:41:02 +00:00
|
|
|
# should use `pull_request_target` but it's blocked by
|
|
|
|
# https://github.com/probot/probot/issues/1635
|
|
|
|
# so this job will not run on forks until the above is fixed
|
|
|
|
pull_request:
|
2021-11-16 18:23:57 +00:00
|
|
|
types: [labeled, ready_for_review]
|
2021-11-15 14:27:42 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
auto-cc:
|
|
|
|
runs-on: ubuntu-latest
|
2021-11-17 15:54:41 +00:00
|
|
|
if: github.event_name == 'issue' || github.event.pull_request.draft == false
|
2022-08-30 17:03:32 +00:00
|
|
|
timeout-minutes: 5
|
2021-11-15 14:27:42 +00:00
|
|
|
steps:
|
2022-11-03 14:10:55 +00:00
|
|
|
- uses: Lightning-AI/probot@v1
|
2021-11-15 14:27:42 +00:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2022-09-16 18:12:46 +00:00
|
|
|
with:
|
|
|
|
job: auto-cc
|