Skip to content

feat(‎repo_policy_sync): add policy-driven GitHub workflow reference updates - #41

Merged
AlexanderLanin merged 3 commits into
eclipse-score:mainfrom
etas-contrib:poc/github-ref-updates
Sep 14, 2026
Merged

AlexanderLanin merged 3 commits into
eclipse-score:mainfrom
etas-contrib:poc/github-ref-updates

Conversation

@AlexanderLanin

Copy link
Copy Markdown
Member

Why

This proof-of-concept adds policy-driven updates for GitHub workflow references so the project can evaluate the approach and compare its behavior and operational trade-offs with Renovate before deciding on a production direction.

What changed

  • Add ensure_exact and ensure_minimal policy operations for external GitHub workflow targets.
  • Support action subpaths and external reusable-workflow targets in .github/workflows/**/*.yml and .yaml.
  • Resolve minimum releases and commit ancestry through authenticated gh api calls with run-scoped caching.
  • Preserve workflow formatting, quoting, comments, and line endings during updates.
  • Add a bundled policy requiring actions/checkout v6 or newer.
  • Document the policy format, operation behavior, and architecture.

This remains a POC for further evaluation. Local targets and non-line-oriented YAML forms are intentionally outside the current scope.

@AlexanderLanin
AlexanderLanin marked this pull request as ready for review September 14, 2026 12:00
@AlexanderLanin AlexanderLanin changed the title POC: Add policy-driven GitHub workflow reference updates feat(‎repo_policy_sync): add policy-driven GitHub workflow reference updates Sep 14, 2026
Comment thread repo_policy_sync/src/github.py
@AlexanderLanin
AlexanderLanin merged commit 9052c98 into eclipse-score:main Sep 14, 2026
3 checks passed
@AlexanderLanin
AlexanderLanin deleted the poc/github-ref-updates branch September 14, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants