Make sure the upcoming change in the default for weights_only from False to True is handled correctly
#29494
This file contains hidden or 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 |