Skip to content

Bump dependencies, restrict workflow permissions and update actions - #63

Merged
umputun merged 3 commits into
umputun:masterfrom
paskal:chore/ci-permissions-and-deps
Aug 20, 2026
Merged

Bump dependencies, restrict workflow permissions and update actions#63
umputun merged 3 commits into
umputun:masterfrom
paskal:chore/ci-permissions-and-deps

Conversation

@paskal

@paskal paskal commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Routine maintenance, no functional changes.

Dependencies. go-dockerclient to v1.13.2, lgr to v0.12.4, testify to v1.12.1, with the transitive moby, logrus and golang.org/x/sys modules moving along with them; go mod tidy and go mod vendor were run afterwards. This supersedes #61, which bumps moby/moby/v2 to beta.14 while this branch takes it to beta.21. The go directive stays at 1.26 and the workflow Go version already matches it.

Workflow permissions. .github/workflows/ci.yml declared no permissions block, so every job ran with whatever the repository default token scope is. Added a top-level contents: read, which covers all three jobs: both registry logins use PKG_TOKEN and DOCKER_HUB_TOKEN rather than the workflow token, coveralls only needs the token to identify the repository, and the digest artifacts are exchanged within a single run, which uses the runtime token rather than GITHUB_TOKEN.

Action versions. checkout v6 to v7, setup-go v6 to v7, upload-artifact v6 to v7, download-artifact v7 to v8, docker/setup-buildx-action v3 to v4, docker/login-action v3 to v4, docker/build-push-action v6 to v7. The docker majors switch the default runtime to Node 24 and drop deprecated inputs which this workflow does not use; download-artifact v8 now errors on a hash mismatch and checks the content type before unzipping, which suits the digest artifacts here.

The empty branches: and tags: filters under push: are now spelled out as ["**"]. An empty value already means "match everything", so the set of triggering refs is unchanged, this only stops actionlint from reporting them as empty strings.

paskal added 2 commits August 19, 2026 16:10
go-dockerclient to v1.13.2, lgr to v0.12.4, testify to v1.12.1, and the
transitive moby, logrus and x/sys modules along with them.
The workflow declared no permissions, so every job ran with the repository
default token scope. A top-level read-only scope is enough: both registry
logins use dedicated secrets, and the artifacts are exchanged inside a single
run. Empty branches and tags filters are spelled out as "**" so actionlint
stops flagging them; the set of triggering refs does not change.
@coveralls

coveralls commented Aug 19, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 32346308389

Coverage remained the same at 79.226%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: Could not be determined — this PR's diff is too large for GitHub to return (406 error at GitHub).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 491
Covered Lines: 389
Line Coverage: 79.23%
Coverage Strength: 27.01 hits per line

💛 - Coveralls

@umputun
umputun merged commit 43fb2cd into umputun:master Aug 20, 2026
3 checks passed
@paskal
paskal deleted the chore/ci-permissions-and-deps branch August 20, 2026 08:07
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.

3 participants