[PR #1686] [MERGED] Improve dependency tracking in pull-requests.yml workflow with explicit depName parameters #3042

Closed
opened 2026-03-01 18:42:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbootxyz/netboot.xyz/pull/1686
Author: @Copilot
Created: 10/12/2025
Status: Merged
Merged: 10/12/2025
Merged by: @antonym

Base: developmentHead: copilot/update-install-dependencies-step


📝 Commits (2)

  • 5579dd1 Initial plan
  • 43b016f Update pull-requests.yml with depName parameters and remove trailing whitespace

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 .github/workflows/pull-requests.yml (+3 -3)

📄 Description

This PR enhances the Renovate dependency tracking configuration in the .github/workflows/pull-requests.yml workflow file by adding explicit depName parameters to the pip install commands.

Changes

Added explicit depName parameters

  • Updated ansible pip install comment: # renovate: datasource=pypi depName=ansible
  • Updated ansible-lint pip install comment: # renovate: datasource=pypi depName=ansible-lint

These explicit depName parameters help Renovate better track and update these dependencies by providing unambiguous package names, improving the reliability of automated dependency updates.

Code quality improvement

  • Removed trailing whitespace from the python -m pip install --upgrade pip line

Benefits

  • Better dependency tracking: Renovate can now more accurately identify and update the ansible and ansible-lint packages
  • Consistency: Aligns with the existing pattern used for the Python version on line 19 (depName=python)
  • Code cleanliness: Eliminates trailing whitespace that could cause linting issues

The changes follow the existing Renovate configuration patterns in the file and maintain backward compatibility with the workflow execution.

Original prompt

Update the .github/workflows/pull-requests.yml file to improve the 'Install dependencies' step by adding explicit depName parameters to the renovate comments for better dependency tracking. Specifically, change pip install ansible==10.2.0 # renovate: datasource=pypi to pip install ansible==10.2.0 # renovate: datasource=pypi depName=ansible, change pip install ansible-lint==24.7.0 # renovate: datasource=pypi to pip install ansible-lint==24.7.0 # renovate: datasource=pypi depName=ansible-lint, and remove trailing whitespace from the python -m pip install --upgrade pip line.


Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbootxyz/netboot.xyz/pull/1686 **Author:** [@Copilot](https://github.com/apps/copilot-swe-agent) **Created:** 10/12/2025 **Status:** ✅ Merged **Merged:** 10/12/2025 **Merged by:** [@antonym](https://github.com/antonym) **Base:** `development` ← **Head:** `copilot/update-install-dependencies-step` --- ### 📝 Commits (2) - [`5579dd1`](https://github.com/netbootxyz/netboot.xyz/commit/5579dd1f30997697e0385a13d8a669ee65fc67d5) Initial plan - [`43b016f`](https://github.com/netbootxyz/netboot.xyz/commit/43b016f2c1e26ca714f58a6354b9b3f9c8a076ac) Update pull-requests.yml with depName parameters and remove trailing whitespace ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pull-requests.yml` (+3 -3) </details> ### 📄 Description This PR enhances the Renovate dependency tracking configuration in the `.github/workflows/pull-requests.yml` workflow file by adding explicit `depName` parameters to the pip install commands. ## Changes ### Added explicit depName parameters - Updated `ansible` pip install comment: `# renovate: datasource=pypi depName=ansible` - Updated `ansible-lint` pip install comment: `# renovate: datasource=pypi depName=ansible-lint` These explicit `depName` parameters help Renovate better track and update these dependencies by providing unambiguous package names, improving the reliability of automated dependency updates. ### Code quality improvement - Removed trailing whitespace from the `python -m pip install --upgrade pip` line ## Benefits - **Better dependency tracking**: Renovate can now more accurately identify and update the ansible and ansible-lint packages - **Consistency**: Aligns with the existing pattern used for the Python version on line 19 (`depName=python`) - **Code cleanliness**: Eliminates trailing whitespace that could cause linting issues The changes follow the existing Renovate configuration patterns in the file and maintain backward compatibility with the workflow execution. <!-- START COPILOT CODING AGENT SUFFIX --> <details> <summary>Original prompt</summary> > Update the .github/workflows/pull-requests.yml file to improve the 'Install dependencies' step by adding explicit depName parameters to the renovate comments for better dependency tracking. Specifically, change `pip install ansible==10.2.0 # renovate: datasource=pypi` to `pip install ansible==10.2.0 # renovate: datasource=pypi depName=ansible`, change `pip install ansible-lint==24.7.0 # renovate: datasource=pypi` to `pip install ansible-lint==24.7.0 # renovate: datasource=pypi depName=ansible-lint`, and remove trailing whitespace from the `python -m pip install --upgrade pip` line. </details> <!-- START COPILOT CODING AGENT TIPS --> --- ✨ Let Copilot coding agent [set things up for you](https://github.com/netbootxyz/netboot.xyz/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 18:42:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/netboot.xyz#3042
No description provided.