-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Only check the touched markdown files in PR for the Verify link step #15929
Conversation
- template: /eng/common/pipelines/templates/steps/verify-links.yml | ||
parameters: | ||
Directory: '' | ||
Urls: (git diff origin/${env:SYSTEM_PULLREQUEST_TARGETBRANCH} HEAD --name-only -- '*.md') |
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.
Can't we encapsulate this logic inside /eng/common/pipelines/templates/steps/verify-links.yml
?
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.
We currently don't want to update all lang repo. Some languages repos do not have aggregate-report pipeline setup. So it is less the ability of scanning the entire repo. We only update 4 major langs for now. Once we want to update to all repo, we will move the logic inside of verify-links.yml
Tested: https://dev.azure.com/azure-sdk/public/_build/results?buildId=572769&view=logs&j=b70e5e73-bbb6-5567-0939-8415943fadb9&t=2c4000de-e41e-51f5-d969-886b675842ec
Java: Azure/azure-sdk-for-java#16008
.NET: #15929
Python: Azure/azure-sdk-for-python#14466
JS: Azure/azure-sdk-for-js#11803
Android: Azure/azure-sdk-for-android#405
C: Azure/azure-sdk-for-c#1431
CPP: Azure/azure-sdk-for-cpp#787
Go: Azure/azure-sdk-for-go#12809
IOS: Azure/azure-sdk-for-ios#488