Skip to content

Align Docker dependency updates with Dependabot, cloud agent setup, and push trigger alignment#125

Open
Copilot wants to merge 13 commits into
latestfrom
copilot/add-docker-dependency-updater-workflow
Open

Align Docker dependency updates with Dependabot, cloud agent setup, and push trigger alignment#125
Copilot wants to merge 13 commits into
latestfrom
copilot/add-docker-dependency-updater-workflow

Conversation

Copy link
Copy Markdown

Copilot AI commented May 11, 2026

This PR aligns Docker dependency automation with Dependabot coverage and cloud-agent orchestration, while adding push-triggered updater execution without duplicating Docker build checks already handled by Docker Ops.

What changed

  • Re-checked workflow runs and Dependabot scope, confirming Dependabot currently covers only:
    • Docker base image updates (/)
    • GitHub Actions workflow updates (.github/workflows)
  • Refactored /home/runner/work/worker/worker/.github/workflows/docker-dependency-updater.yml to dynamically discover and update Dockerfile dependency classes not covered by Dependabot:
    • apt version pins
    • ARG-driven tool versions inferred from Dockerfile usage patterns
  • Consolidated scheduled Copilot session triggering into the same Docker dependency updater workflow.
  • Removed the separate scheduled-session workflow file.
  • Added push execution (scoped to Dockerfile/workflow changes) so updater logic can be exercised before approval/merge.
  • Kept pull request creation restricted to workflow_dispatch runs to avoid PR noise from push runs.
  • Updated push-run behavior to avoid duplicate Docker build execution in this workflow, since Docker builds are already performed by Docker Ops executions.
  • Re-ran workflow validation and security checks (including CodeQL scan for actions changes).

Validation

  • Workflow YAML parsing/validation completed successfully.
  • Automated review and CodeQL checks completed with no new findings.

Copilot AI and others added 9 commits May 11, 2026 05:15
Agent-Logs-Url: https://github.com/udx/worker/sessions/649d8f42-1f9a-4f3d-b578-82a2cdd553ef

Co-authored-by: fqjony <12067297+fqjony@users.noreply.github.com>
Agent-Logs-Url: https://github.com/udx/worker/sessions/649d8f42-1f9a-4f3d-b578-82a2cdd553ef

Co-authored-by: fqjony <12067297+fqjony@users.noreply.github.com>
Agent-Logs-Url: https://github.com/udx/worker/sessions/649d8f42-1f9a-4f3d-b578-82a2cdd553ef

Co-authored-by: fqjony <12067297+fqjony@users.noreply.github.com>
Agent-Logs-Url: https://github.com/udx/worker/sessions/649d8f42-1f9a-4f3d-b578-82a2cdd553ef

Co-authored-by: fqjony <12067297+fqjony@users.noreply.github.com>
Agent-Logs-Url: https://github.com/udx/worker/sessions/649d8f42-1f9a-4f3d-b578-82a2cdd553ef

Co-authored-by: fqjony <12067297+fqjony@users.noreply.github.com>
Agent-Logs-Url: https://github.com/udx/worker/sessions/aabddbcd-eaab-47af-a62c-44dbe2dbe4a7

Co-authored-by: fqjony <12067297+fqjony@users.noreply.github.com>
Comment thread .github/workflows/docker-dependency-updater.yml Fixed
Comment thread .github/workflows/docker-dependency-updater.yml
Copilot stopped work on behalf of fqjony due to an error May 11, 2026 05:36
Copilot finished work on behalf of fqjony May 11, 2026 05:39
@fqjony
Copy link
Copy Markdown
Contributor

fqjony commented May 11, 2026

@copilot lets test it on push to confirm before approve / merge

After upgrade docket ops should pass

@fqjony fqjony marked this pull request as ready for review May 11, 2026 05:44
Copilot AI review requested due to automatic review settings May 11, 2026 05:44
Copy link
Copy Markdown
Author

Copilot AI commented May 11, 2026

@copilot lets test it on push to confirm before approve / merge

After upgrade docket ops should pass

Implemented in e067a50: this workflow now runs on push (for Dockerfile/workflow changes) to validate the dependency-upgrade path before merge, while PR creation stays limited to workflow_dispatch.

Copilot AI changed the title Align Docker dependency updates with Dependabot and cloud agent setup Align Docker dependency updates with Dependabot, cloud agent setup, and push validation May 11, 2026
Copilot finished work on behalf of fqjony May 11, 2026 05:46
@fqjony
Copy link
Copy Markdown
Contributor

fqjony commented May 11, 2026

@copilot docker build is performed with docker ops, see executions

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds/updates GitHub Actions automation to complement Dependabot by handling Dockerfile-level dependency pins (apt package version pins + ARG-driven tool versions), and consolidates the scheduled “Copilot dependency upgrade session” trigger into the same workflow.

Changes:

  • Introduces a scheduled workflow job that opens (or reuses) a weekly “scheduled dependency upgrade session” issue for Copilot.
  • Adds a manual (workflow_dispatch) job that parses Dockerfile to update pinned apt package versions and ARG-based tool versions, then opens a PR.
  • Adds a separate “Copilot Setup Steps” workflow to install baseline tooling used during cloud agent sessions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/docker-dependency-updater.yml New scheduled + manual workflow to discover/update Dockerfile dependency pins and open an automated PR.
.github/workflows/copilot-setup-steps.yml New workflow to bootstrap common CLI tooling (jq/make/yamllint) for Copilot/cloud agent sessions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +85 to +92
in_block && /&&/ { in_block=0 }
in_block {
gsub(/\\/, "", $0)
gsub(/^[[:space:]]+/, "", $0)
if ($0 ~ /^[[:alnum:].+-]+=/) {
split($0, parts, "=")
print parts[1]
}
Comment on lines +9 to +13
- Dockerfile
- .github/workflows/docker-dependency-updater.yml
workflow_dispatch:

permissions:
)"
if [ -n "${github_repo}" ]; then
latest_value="$(
curl -fsSL "https://api.github.com/repos/${github_repo}/releases/latest" 2>/dev/null \
Comment on lines +175 to +177
else
echo "changed=true" >> "${GITHUB_OUTPUT}"
fi
Copy link
Copy Markdown
Author

Copilot AI commented May 11, 2026

@copilot docker build is performed with docker ops, see executions

Updated in 3a2ac6e: removed duplicate Docker build execution from push runs in docker-dependency-updater.yml since Docker Ops already handles push-time Docker builds.

Copilot AI changed the title Align Docker dependency updates with Dependabot, cloud agent setup, and push validation Align Docker dependency updates with Dependabot, cloud agent setup, and push trigger alignment May 11, 2026
Copilot finished work on behalf of fqjony May 11, 2026 05:50
@fqjony fqjony added enhancement New feature or request dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code docker Pull requests that update docker code labels May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file docker Pull requests that update docker code enhancement New feature or request github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants