Replace external Actions with native runner/buildx capabilities in repo workflows#39
Merged
Merged
Conversation
Copilot created this pull request from a session on behalf of
tillkruss
June 16, 2026 18:49
View session
There was a problem hiding this comment.
Pull request overview
This PR modernizes the repository’s GitHub Actions workflows by removing third-party actions and relying on native runner tooling (GitHub CLI, preinstalled AWS CLI) plus Buildx’s native GHA cache backend, while hardening artifact TAG extraction to fail fast.
Changes:
- Replaced third-party artifact download action with
gh run downloadand added job permissions needed for artifact access. - Removed explicit AWS CLI install steps and relied on runner-provided AWS CLI.
- Enabled Buildx caching via the GitHub Actions cache backend (
type=gha) for Docker image builds.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| .github/workflows/sync.yml | Removes AWS CLI install action and relies on runner-provided AWS CLI for R2 sync. |
| .github/workflows/repos.yml | Switches artifact downloads to gh run download, adds permissions, and hardens TAG discovery. |
| .github/workflows/image.yml | Enables Buildx cache-from/cache-to using type=gha for faster image builds. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
This change removes third-party workflow dependencies that are no longer needed and shifts artifact/download and Docker caching to native GitHub tooling. It also tightens workflow robustness around artifact tag extraction.
Action dependency reduction
unfor19/install-aws-cli-actionfromsync.ymlandrepos.yml; workflows now rely on the AWS CLI preinstalled onubuntu-latest.dawidd6/action-download-artifactwithgh run downloadin bothrepos.ymljobs.Native Buildx cache enablement
docker/build-push-actioninimage.ymlusingtype=ghawithmode=max.Permissions + artifact handling hardening
actions: readpermission (alongsidecontents: write) for jobs that download artifacts viagh.