-
Couldn't load subscription status.
- Fork 25.7k
Only label checks against pull requests #87488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@pytorchbot merge -f "Linter passes and the Check Labels check passes correctly" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
When a commit is triggered via any mechanism other than a pull request, there will not be a PR to check labels for. The job will fail with the error: ``` 2022-10-21T17:50:53.2938592Z + python3 .github/scripts/check_labels.py '' 2022-10-21T17:50:53.4758863Z usage: Check PR labels [-h] pr_num 2022-10-21T17:50:53.4759337Z Check PR labels: error: argument pr_num: invalid int value: '' ``` Instead, we should limit the workflow to only run on pull requests Pull Request resolved: pytorch#87488 Approved by: https://github.com/huydhn
When a commit is triggered via any mechanism other than a pull request, there will not be a PR to check labels for. The job will fail with the error: ``` 2022-10-21T17:50:53.2938592Z + python3 .github/scripts/check_labels.py '' 2022-10-21T17:50:53.4758863Z usage: Check PR labels [-h] pr_num 2022-10-21T17:50:53.4759337Z Check PR labels: error: argument pr_num: invalid int value: '' ``` Instead, we should limit the workflow to only run on pull requests Pull Request resolved: pytorch#87488 Approved by: https://github.com/huydhn
When a commit is triggered via any mechanism other than a pull request, there will not be a PR to check labels for.
The job will fail with the error:
Instead, we should limit the workflow to only run on pull requests