lightning/.github/workflows/probot-auto-cc.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
572 B
YAML
Raw Normal View History

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
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 }}
with:
job: auto-cc