feat: add scheduled Go version digest check workflow#4368
Draft
behzad-mir wants to merge 1 commit intomasterfrom
Draft
feat: add scheduled Go version digest check workflow#4368behzad-mir wants to merge 1 commit intomasterfrom
behzad-mir wants to merge 1 commit intomasterfrom
Conversation
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
| run: | | ||
| MARKER="go-digest-update:${{ steps.check.outputs.go_tag }}" |
Contributor
There was a problem hiding this comment.
Do not dismiss this alert. Resolve.
| echo "" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "| Check | Value |" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "|-------|-------|" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "| GO_IMG | \`${{ steps.check.outputs.go_img }}\` |" >> "$GITHUB_STEP_SUMMARY" |
| echo "| Check | Value |" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "|-------|-------|" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "| GO_IMG | \`${{ steps.check.outputs.go_img }}\` |" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "| Current digest | \`${{ steps.check.outputs.current_digest }}\` |" >> "$GITHUB_STEP_SUMMARY" |
| echo "|-------|-------|" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "| GO_IMG | \`${{ steps.check.outputs.go_img }}\` |" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "| Current digest | \`${{ steps.check.outputs.current_digest }}\` |" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "| Latest MCR digest | \`${{ steps.check.outputs.latest_digest }}\` |" >> "$GITHUB_STEP_SUMMARY" |
| echo "| GO_IMG | \`${{ steps.check.outputs.go_img }}\` |" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "| Current digest | \`${{ steps.check.outputs.current_digest }}\` |" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "| Latest MCR digest | \`${{ steps.check.outputs.latest_digest }}\` |" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "| Update needed | \`${{ steps.check.outputs.update_needed }}\` |" >> "$GITHUB_STEP_SUMMARY" |
jpayne3506
requested changes
Apr 23, 2026
Contributor
jpayne3506
left a comment
There was a problem hiding this comment.
Is this just creating an issue? What is the design here?
Any opinions against creating a PR with a workflow that already ran make dockerfiles on a given branch?
|
|
||
| on: | ||
| schedule: | ||
| - cron: '0 9 * * 1' # Every Monday at 9am UTC |
Contributor
There was a problem hiding this comment.
Would rather this be done on a sunday. Ideally we have CI/CD hooked in, ran, and we can approve -> thrown into merge queue.
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
| run: | | ||
| MARKER="go-digest-update:${{ steps.check.outputs.go_tag }}" |
Contributor
There was a problem hiding this comment.
Do not dismiss this alert. Resolve.
…ades 3-tier detection and action system: - Tier 1 (Digest drift): Auto-creates PR with refreshed SHAs - Tier 2 (Patch bump): Auto-creates PR with version + SHA updates - Tier 3 (Minor/Major): Creates issue assigned to Copilot agent - Agent reads .github/copilot-instructions.md for procedure - Agent researches release notes and checks for breaking changes - Agent creates PR with all necessary changes - FIPS readiness auto-detected (skips FIPS steps if already configured) Includes .github/copilot-instructions.md with full Go upgrade procedure for the Copilot coding agent to follow. Closes #4366 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
54d8d84 to
bc4bf90
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a new GitHub Actions workflow that runs weekly to detect Go image digest drift in MCR. When drift is detected, it creates a GitHub issue with the updated SHAs and a checklist of files to update.
This complements the existing baseimages.yaml workflow which validates Dockerfile consistency on PRs.
Resolves #4366
Reason for Change:
Issue Fixed:
Requirements:
Notes: