-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Prevent auth issue in PR val builds #79524
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
eba600b to
e85d47f
Compare
| arguments: "-sourceBranchName $(SourceBranchName) -prNumber ${{ parameters.PRNumber }} -commitSHA ${{ parameters.CommitSHA }} -enforceLatestCommit ${{ iif(parameters.EnforceLatestCommit, '1', '0') }}" | ||
| condition: succeeded() | ||
|
|
||
| - task: Powershell@2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the intent that if this fails, at least we already got the PR out for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(maybe add a comment to that effect)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure exactly what you mean - I moved it because in order to get the commit details, we need to have it checked out. I guess I could continue on failure, but I suspect it would fail in followup steps when we try to reset the build number.
This shouldn't fail anymore since its just reading the local git repo and not making a github API request.
| arguments: "-sourceBranchName $(SourceBranchName) -prNumber ${{ parameters.PRNumber }} -commitSHA ${{ parameters.CommitSHA }} -enforceLatestCommit ${{ iif(parameters.EnforceLatestCommit, '1', '0') }}" | ||
| condition: succeeded() | ||
|
|
||
| - task: Powershell@2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(maybe add a comment to that effect)
|
/backport to release/dev17.14 |
|
Started backporting to release/dev17.14: https://github.com/dotnet/roslyn/actions/runs/16891686067 |
Likely other jobs on the machine are causing rate limits. Avoid querying github until we can figure out the correct way to authenticate.