Skip to content

Commit 01d2353

Browse files
committed
bump
1 parent 374fcc8 commit 01d2353

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

eng/pipelines/templates/stages/python-analyze-weekly-standalone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ extends:
9898
python -m pip install requests>=2.0
9999
displayName: 'Prep Environment'
100100
- task: PythonScript@0
101-
displayName: 'Update vNext Issues with build info'
101+
displayName: 'Update vNext Issues with build errors'
102102
continueOnError: true
103103
inputs:
104104
scriptPath: 'tools/azure-sdk-tools/gh_tools/update_issue.py'

eng/pipelines/templates/stages/python-analyze-weekly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ stages:
9595
python -m pip install requests>=2.0
9696
displayName: 'Prep Environment'
9797
- task: PythonScript@0
98-
displayName: 'Update vNext Issues with build info'
98+
displayName: 'Update vNext Issues with build errors'
9999
continueOnError: true
100100
inputs:
101101
scriptPath: 'tools/azure-sdk-tools/gh_tools/update_issue.py'

tools/azure-sdk-tools/gh_tools/update_issue.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ def get_build_info(service_directory: str, package_name: str) -> str:
2525
try:
2626
# Make the API request
2727
response = requests.get(timeline_link, headers=AUTH_HEADERS)
28-
logging.info(f"Response: {response.text}")
2928
response_json = json.loads(response.text)
3029

3130
for task in response_json["records"]:
@@ -56,7 +55,7 @@ def main(targeted_packages):
5655
package_name = package.split("/")[-1]
5756
logging.info(f"Searching for issues in repo {repo.name} for package {package_name}")
5857

59-
for issue in repo.get_issues(state="open"):
58+
for issue in repo.get_issues(state="open", labels=["pylint"], creator="azure-sdk"):
6059
if f"{package_name} needs linting updates for pylint version" in issue.title:
6160
logging.info(f"Found issue for package {package_name}: {issue.title}")
6261
build_info = get_build_info(package, package_name)

0 commit comments

Comments
 (0)