Mid-epoch resume causes a single unwanted validation step (which is not a sanity check) #29184
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Probot | |
on: | |
issues: | |
types: [labeled] | |
# 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: | |
types: [labeled, ready_for_review] | |
jobs: | |
auto-cc: | |
runs-on: ubuntu-latest | |
if: github.event_name == 'issue' || github.event.pull_request.draft == false | |
timeout-minutes: 5 | |
steps: | |
- uses: Lightning-AI/probot@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
job: auto-cc |