Skip to content

Conversation

@ZainRizvi
Copy link
Contributor

@ZainRizvi ZainRizvi commented Oct 21, 2022

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

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Oct 21, 2022
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 21, 2022

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/87488

Note: Links to docs will display an error until the docs builds have been completed.

❌ 37 Failures, 1 Pending

As of commit e2da467:

The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@ZainRizvi ZainRizvi requested a review from huydhn October 21, 2022 18:09
@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 21, 2022
@ZainRizvi
Copy link
Contributor Author

@pytorchbot merge -f "Linter passes and the Check Labels check passes correctly"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

@ZainRizvi ZainRizvi deleted the zainr/label-fix branch October 28, 2022 16:44
kulinseth pushed a commit to kulinseth/pytorch that referenced this pull request Nov 5, 2022
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
kulinseth pushed a commit to kulinseth/pytorch that referenced this pull request Dec 10, 2022
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants