-
Notifications
You must be signed in to change notification settings - Fork 25.6k
CI: Enable using labels to control GHA workflows #64314
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
CI Flow Status⚛️ CI FlowRuleset - Version:
You can add a comment to the PR and tag @pytorchbot with the following commands: # ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun
# ciflow rerun with additional labels "-l <ciflow/label_name>", which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slow For more information, please take a look at the CI Flow Wiki. |
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 1974d86 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
Codecov Report
@@ Coverage Diff @@
## master #64314 +/- ##
==========================================
+ Coverage 66.67% 66.71% +0.04%
==========================================
Files 705 705
Lines 92171 92227 +56
==========================================
+ Hits 61453 61530 +77
+ Misses 30718 30697 -21 |
@janeyx99 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Fixes #62852
Sets a global environment variable containing a list of PR labels. For this PR, the PR_LABELS variable looks like:
confirmed in a run: https://github.com/pytorch/pytorch/runs/3490072161?check_suite_focus=true
This information can be used in other workflow steps to control the logic. For example, if I want to force a build, I can label my PR with "force-build" and do something like the following in my build script: