Skip to content

chore(deps): bump step-security/harden-runner from 2.20.1 to 2.21.1 - #7287

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/github_actions/step-security/harden-runner-2.20.1
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/github_actions/step-security/harden-runner-2.20.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

Bumps step-security/harden-runner from 2.20.1 to 2.21.1.

Release notes

Sourced from step-security/harden-runner's releases.

v2.21.1

What's Changed

  • Improved performance of the disable-sudo feature.
  • Fixed an issue in the Community tier where new endpoints required by the GitHub Actions runner were not being implicitly allowed in block mode.
  • Fixed the Harden-Runner post step failing on Linux distributions that do not have a merged /usr filesystem layout (for example Debian 11), where /usr/bin/echo does not exist. This mainly affected self-hosted runners.
  • Documentation updates: clarified which features are in the Community (free) vs Enterprise tier.

Full Changelog: step-security/harden-runner@v2.21.0...v2.21.1

v2.21.0

What's Changed

  • Support for denied endpoints in block mode. This is included in the enterprise tier. Customers can deny outbound calls, for example, to public package registries.
  • Improved Support for AWS CodeBuild GitHub Actions Runners.
  • Bug fixes.

Full Changelog: step-security/harden-runner@v2.20.1...v2.21.0

Commits
  • e14015d Merge pull request #690 from step-security/rc-43
  • 9001249 docs: update harden-runner version pin to v2.21.0 in getting started example
  • a447fba docs: expand enterprise feature list and document custom VM and ubuntu-slim l...
  • b0eaf8d docs: clarify community vs enterprise tiers and add maintained actions section
  • 063e8e3 Merge pull request #687 from rohan-stepsecurity/rp/fix/bin-echo-fallback
  • f46bdc1 chore: bump agent-ebpf to v1.9.1 and agent to v0.16.3
  • 42e6daa fix: fall back to /bin/echo for non-usr-merged distros
  • 05e3151 Merge pull request #684 from step-security/rc-42
  • 0f37afa fix: ignore denied-endpoints on non-enterprise tier
  • 93b58ee fix: resolve cache host read-first and never downgrade egress policy
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 18, 2026
atzoum added a commit that referenced this pull request Sep 7, 2026
rudder-go-kit is pinned to the commit from rudderlabs/rudder-go-kit#1205,
which requires Go 1.27.1, so the go directive, both Dockerfiles and
golangci-lint (v2.13.2) move up with it and `go fix` applies the Go 1.27
modernizers. Also folds in the open dependabot PRs: go modules (#7344,
#7322, #7338, #7336, #7335) and actions (#7289, #7288, #7287, #7286, #7285).

The new linter surfaced a missing call on a deferred crash.Notify in the
user transformer, so panics in its batch goroutines went unreported.

Co-Authored-By: Claude Opus 5 <[email protected]>
atzoum added a commit that referenced this pull request Sep 7, 2026
rudder-go-kit is pinned to the commit from rudderlabs/rudder-go-kit#1205,
which requires Go 1.27.1, so the go directive, both Dockerfiles and
golangci-lint (v2.13.2) move up with it and `go fix` applies the Go 1.27
modernizers. Also folds in the open dependabot PRs: go modules (#7344,
#7322, #7338, #7336, #7335) and actions (#7289, #7288, #7287, #7286, #7285).

The new linter surfaced a missing call on a deferred crash.Notify in the
user transformer, so panics in its batch goroutines went unreported.

Co-Authored-By: Claude Opus 5 <[email protected]>
atzoum added a commit that referenced this pull request Sep 7, 2026
rudder-go-kit is pinned to the commit from rudderlabs/rudder-go-kit#1205,
which requires Go 1.27.1, so the go directive, both Dockerfiles and
golangci-lint (v2.13.2) move up with it and `go fix` applies the Go 1.27
modernizers. Also folds in the open dependabot PRs: go modules (#7344,
#7322, #7338, #7336, #7335) and actions (#7289, #7288, #7287, #7286, #7285).

The new linter surfaced a missing call on a deferred crash.Notify in the
user transformer, so panics in its batch goroutines went unreported.

Co-Authored-By: Claude Opus 5 <[email protected]>
atzoum added a commit that referenced this pull request Sep 7, 2026
rudder-go-kit is pinned to the commit from rudderlabs/rudder-go-kit#1205,
which requires Go 1.27.1, so the go directive, both Dockerfiles and
golangci-lint (v2.13.2) move up with it and `go fix` applies the Go 1.27
modernizers. Also folds in the open dependabot PRs: go modules (#7344,
#7322, #7338, #7336, #7335) and actions (#7289, #7288, #7287, #7286, #7285).

The new linter surfaced a missing call on a deferred crash.Notify in the
user transformer, so panics in its batch goroutines went unreported.

Co-Authored-By: Claude Opus 5 <[email protected]>
atzoum added a commit that referenced this pull request Sep 7, 2026
rudder-go-kit is pinned to the commit from rudderlabs/rudder-go-kit#1205,
which requires Go 1.27.1, so the go directive, both Dockerfiles and
golangci-lint (v2.13.2) move up with it and `go fix` applies the Go 1.27
modernizers. Also folds in the open dependabot PRs: go modules (#7344,
#7322, #7338, #7336, #7335) and actions (#7289, #7288, #7287, #7286, #7285).

The new linter surfaced a missing call on a deferred crash.Notify in the
user transformer, so panics in its batch goroutines went unreported.

Co-Authored-By: Claude Opus 5 <[email protected]>
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

This PR is considered to be stale. It has been open 20 days with no further activity thus it is going to be closed in 7 days. To avoid such a case please consider removing the stale label manually or add a comment to the PR.

@github-actions github-actions Bot added the Stale label Sep 8, 2026
atzoum added a commit that referenced this pull request Sep 8, 2026
rudder-go-kit is pinned to the commit from rudderlabs/rudder-go-kit#1205,
which requires Go 1.27.1, so the go directive, both Dockerfiles and
golangci-lint (v2.13.2) move up with it and `go fix` applies the Go 1.27
modernizers. Also folds in the open dependabot PRs: go modules (#7344,
#7322, #7338, #7336, #7335) and actions (#7289, #7288, #7287, #7286, #7285).

The new linter surfaced a missing call on a deferred crash.Notify in the
user transformer, so panics in its batch goroutines went unreported.

Co-Authored-By: Claude Opus 5 <[email protected]>
atzoum added a commit that referenced this pull request Sep 8, 2026
rudder-go-kit is pinned to the commit from rudderlabs/rudder-go-kit#1205,
which requires Go 1.27.1, so the go directive, both Dockerfiles and
golangci-lint (v2.13.2) move up with it and `go fix` applies the Go 1.27
modernizers. Also folds in the open dependabot PRs: go modules (#7344,
#7322, #7338, #7336, #7335) and actions (#7289, #7288, #7287, #7286, #7285).

The new linter surfaced a missing call on a deferred crash.Notify in the
user transformer, so panics in its batch goroutines went unreported.

Co-Authored-By: Claude Opus 5 <[email protected]>
atzoum added a commit that referenced this pull request Sep 8, 2026
rudder-go-kit moves to v0.79.0, which requires Go 1.27.1, so the go
directive, both Dockerfiles and golangci-lint (v2.13.2) move up with it and
`go fix` applies the Go 1.27 modernizers. Also folds in the open dependabot
PRs: go modules (#7344, #7322, #7338, #7336, #7335) and actions (#7289,
#7288, #7287, #7286, #7285).

The new linter surfaced a missing call on a deferred crash.Notify in the
user transformer, so panics in its batch goroutines went unreported.

Three tests pinned values that these bumps legitimately move: two compared
gzip output, which go1.27 re-encodes via compress/flate, and one relied on
minio-go rejecting a scheme-qualified endpoint, which v7.3.0 accepts.

Co-Authored-By: Claude Opus 5 <[email protected]>
atzoum added a commit that referenced this pull request Sep 8, 2026
rudder-go-kit moves to v0.79.0, which requires Go 1.27.1, so the go
directive, both Dockerfiles and golangci-lint (v2.13.2) move up with it and
`go fix` applies the Go 1.27 modernizers. Also folds in the open dependabot
PRs: go modules (#7344, #7322, #7338, #7336, #7335) and actions (#7289,
#7288, #7287, #7286, #7285).

The new linter surfaced a missing call on a deferred crash.Notify in the
user transformer, so panics in its batch goroutines went unreported.

Three tests pinned values that these bumps legitimately move: two compared
gzip output, which go1.27 re-encodes via compress/flate, and one relied on
minio-go rejecting a scheme-qualified endpoint, which v7.3.0 accepts.

Co-Authored-By: Claude Opus 5 <[email protected]>
atzoum added a commit that referenced this pull request Sep 9, 2026
rudder-go-kit moves to v0.79.0, which requires Go 1.27.1, so the go
directive, both Dockerfiles and golangci-lint (v2.13.2) move up with it and
`go fix` applies the Go 1.27 modernizers. Also folds in the open dependabot
PRs: go modules (#7344, #7322, #7338, #7336, #7335) and actions (#7289,
#7288, #7287, #7286, #7285).

The new linter surfaced a missing call on a deferred crash.Notify in the
user transformer, so panics in its batch goroutines went unreported.

Three tests pinned values that these bumps legitimately move: two compared
gzip output, which go1.27 re-encodes via compress/flate, and one relied on
minio-go rejecting a scheme-qualified endpoint, which v7.3.0 accepts.

Co-Authored-By: Claude Opus 5 <[email protected]>
atzoum added a commit that referenced this pull request Sep 9, 2026
rudder-go-kit moves to v0.79.0, which requires Go 1.27.1, so the go
directive, both Dockerfiles and golangci-lint (v2.13.2) move up with it and
`go fix` applies the Go 1.27 modernizers. Also folds in the open dependabot
PRs: go modules (#7344, #7322, #7338, #7336, #7335) and actions (#7289,
#7288, #7287, #7286, #7285).

The new linter surfaced a missing call on a deferred crash.Notify in the
user transformer, so panics in its batch goroutines went unreported.

Three tests pinned values that these bumps legitimately move: two compared
gzip output, which go1.27 re-encodes via compress/flate, and one relied on
minio-go rejecting a scheme-qualified endpoint, which v7.3.0 accepts.

Co-Authored-By: Claude Opus 5 <[email protected]>
atzoum added a commit that referenced this pull request Sep 9, 2026
rudder-go-kit moves to v0.79.0, which requires Go 1.27.1, so the go
directive, both Dockerfiles and golangci-lint (v2.13.2) move up with it and
`go fix` applies the Go 1.27 modernizers. Also folds in the open dependabot
PRs: go modules (#7344, #7322, #7338, #7336, #7335) and actions (#7289,
#7288, #7287, #7286, #7285).

The new linter surfaced a missing call on a deferred crash.Notify in the
user transformer, so panics in its batch goroutines went unreported.

Three tests pinned values that these bumps legitimately move: two compared
gzip output, which go1.27 re-encodes via compress/flate, and one relied on
minio-go rejecting a scheme-qualified endpoint, which v7.3.0 accepts.

Co-Authored-By: Claude Opus 5 <[email protected]>
atzoum added a commit that referenced this pull request Sep 11, 2026
rudder-go-kit moves to v0.79.0, which requires Go 1.27.1, so the go
directive, both Dockerfiles and golangci-lint (v2.13.2) move up with it and
`go fix` applies the Go 1.27 modernizers. Also folds in the open dependabot
PRs: go modules (#7344, #7322, #7338, #7336, #7335) and actions (#7289,
#7288, #7287, #7286, #7285).

The new linter surfaced a missing call on a deferred crash.Notify in the
user transformer, so panics in its batch goroutines went unreported.

Three tests pinned values that these bumps legitimately move: two compared
gzip output, which go1.27 re-encodes via compress/flate, and one relied on
minio-go rejecting a scheme-qualified endpoint, which v7.3.0 accepts.

Co-Authored-By: Claude Opus 5 <[email protected]>
atzoum added a commit that referenced this pull request Sep 14, 2026
# Description

Supersedes #7344, #7322, #7338, #7336, #7335, #7289, #7288, #7287,
#7286, #7285.

Bumps `rudder-go-kit` to v0.79.0, which ships
rudderlabs/rudder-go-kit#1205 and requires Go 1.27.1, and folds in every
open dependabot PR on top of it.

## Go

| | From | To |
| --- | --- | --- |
| toolchain | 1.26.6 | 1.27.1 |

Go 1.27's modernizers, applied by `go fix ./...`:

- **embedlit** — embedded-struct literals collapsed to promoted fields.
- **atomictypes** — `atomic.AddInt32(&x, …)` sites became `atomic.Int32`
/ `Uint32` / `Int64` values.
- `errors.As` to `errors.AsType`, `strings.Split(s, sep)[0]` to
`strings.Cut`, reverse loops to `slices.Backward`.

## Docker images

Both Dockerfiles move to `golang:1.27.1-alpine3.24` for the builder
stage and `alpine:3.24` for the runtime stage, with all three digests
re-pinned:

| | From | To |
| --- | --- | --- |
| `GO_VERSION` | 1.26.6 | 1.27.1 |
| `ALPINE_VERSION` | 3.23 | 3.24 |

`ALPINE_VERSION` feeds both `FROM` lines, so `GO_VERSION_SHA256` moves
for the alpine bump as well as the Go one.

## Go modules

| Module | From | To |
| --- | --- | --- |
| `cloud.google.com/go/bigquery` | v1.78.0 | v1.81.0 |
| `cloud.google.com/go/pubsub/v2` | v2.6.1 | v2.6.2 |
| `cloud.google.com/go/storage` | v1.64.0 | v1.65.0 |
| `github.com/apache/pulsar-client-go` | v0.20.0 | v0.21.0 |
| `github.com/aws/aws-sdk-go-v2` | v1.42.1 | v1.43.7 |
| `github.com/aws/aws-sdk-go-v2/service/eventbridge` | v1.47.0 | v1.48.7
|
| `github.com/aws/aws-sdk-go-v2/service/firehose` | v1.45.0 | v1.46.7 |
| `github.com/aws/aws-sdk-go-v2/service/glue` | v1.148.0 | v1.153.1 |
| `github.com/aws/aws-sdk-go-v2/service/kinesis` | v1.45.0 | v1.47.0 |
| `github.com/aws/aws-sdk-go-v2/service/lambda` | v1.96.0 | v1.102.0 |
| `github.com/aws/aws-sdk-go-v2/service/personalizeevents` | v1.33.0 |
v1.34.7 |
| `github.com/aws/aws-sdk-go-v2/service/s3` | v1.105.0 | v1.107.3 |
| `github.com/aws/aws-sdk-go-v2/service/sts` | v1.44.0 | v1.45.7 |
| `github.com/aws/smithy-go` | v1.27.3 | v1.27.8 |
| `github.com/databricks/databricks-sql-go` | v1.13.1 | v1.14.0 |
| `github.com/dgraph-io/badger/v4` | v4.9.4 | v4.9.6 |
| `github.com/duckdb/duckdb-go/v2` | v2.10504.0 | v2.10505.0 |
| `github.com/fsouza/fake-gcs-server` | v1.54.0 | v1.56.1 |
| `github.com/go-chi/chi/v5` | v5.3.1 | v5.3.2 |
| `github.com/grpc-ecosystem/grpc-gateway/v2` | v2.29.0 | v2.30.0 |
| `github.com/klauspost/compress` | v1.19.1 | v1.19.2 |
| `github.com/microsoft/go-mssqldb` | v1.10.0 | v1.11.0 |
| `github.com/minio/minio-go/v7` | v7.2.1 | v7.3.0 |
| `github.com/onsi/ginkgo/v2` | v2.32.0 | v2.32.1 |
| `github.com/onsi/gomega` | v1.40.0 | v1.42.1 |
| `github.com/redis/go-redis/v9` | v9.21.0 | v9.22.0 |
| `github.com/rudderlabs/rudder-go-kit` | v0.78.2 | v0.79.1 |
| `github.com/rudderlabs/rudder-transformer/go` | v1.141.4 | v1.151.0 |
| `github.com/rudderlabs/sqlconnect-go` | v1.30.2 | v1.30.3 |
| `github.com/stretchr/testify` | v1.12.0 | v1.12.1 |
| `go.etcd.io/etcd/api/v3` | v3.7.0 | v3.7.1 |
| `go.etcd.io/etcd/client/v3` | v3.7.0 | v3.7.1 |
| `google.golang.org/api` | v0.287.1 | v0.293.0 |
| `google.golang.org/genproto/googleapis/rpc` | 20260803160001 |
20260807164820 |
| `google.golang.org/grpc` | v1.83.0 | v1.83.1 |
| `google.golang.org/protobuf` | v1.36.12-0.20260120151049 | v1.36.12 |
| `k8s.io/api` | v0.36.2 | v0.36.4 |
| `k8s.io/apimachinery` | v0.36.2 | v0.36.4 |
| `k8s.io/client-go` | v0.36.2 | v0.36.4 |

## GitHub Actions

| Action | From | To | PR |
| --- | --- | --- | --- |
| `actions/checkout` | v7.0.0 | v7.0.1 | #7288 |
| `actions/labeler` | v6.1.0 | v7.0.0 | #7286 |
| `actions/stale` | v10.3.0 | v11.0.0 | #7285 |
| `slackapi/slack-github-action` | v3.0.3 | v4.0.0 | #7289 |
| `step-security/harden-runner` | v2.19.4 | v2.20.1 | #7287 |

## Lint

Bumped golangci-lint to v2.13.2 in `Makefile` and `verify.yml`. The
newer linter reported 16 findings on existing code:

- **1 staticcheck `SA9010`.** Real, and fixed:
`processor/internal/transformer/user_transformer` had `defer
crash.Notify("Core")` without the trailing `()`. `Notify` returns the
handler to defer, so panics in those batch goroutines were never
reported — every other call site in the repo gets this right.
- **10 staticcheck `QF1012`** (capped by `max-same-issues`; 35 sites
across 13 warehouse integrations). Autofixed to `fmt.Fprintf`.
- **1 staticcheck `SA1019`.** `clickhouse-go`'s `Options.Debug` is
deprecated in favour of `Logger`. Excluded by path — migrating the query
debug logs to a structured logger is a behaviour change in a warehouse
integration and does not belong in a dependency bump.
- **4 gosec taint-analysis rules**, all false positives, excluded
alongside the rules already listed in `.golangci.yml`. Two of them
supersede exclusions this repo already carries: `G704` (SSRF) replaces
`G107`, and `G702` (command injection) replaces `G204`. The other two
are `G704` on the backend-config HTTP client wrapper, whose URL is
control-plane configuration, and `G705` (XSS) on an `rsources` handler
that writes a JSON-marshalled body.

## Tests

Three tests pinned values these bumps legitimately move:

- **`TestBatchDelete`** (`regulation-worker/internal/delete/batch`)
byte-compared gzipped golden files; go1.27 changed `compress/flate`, so
the same records re-encode differently. Now compares them after
decompression. Golden files unchanged.
- **`TestAPIIntegration`** (`snowpipestreaming/internal/api`) pinned the
gzipped insert body at 378 bytes; go1.27 produces 375. The compressed
case now asserts `0 < size < 839`; the uncompressed case keeps its exact
839.
- **`TestSlaveJob/upload_load_files/Invalid_endpoint`** relied on
minio-go rejecting `http://localhost:1234`, which v7.3.0 accepts. Now
uses `http://localhost:1234/some/path`, still rejected, so the expected
error is unchanged.

The minio change is worth noting beyond the test: an `endPoint`
configured with a scheme previously failed fast and now connects.

## Security

- [x] The code changed/added as part of this pull request won't create
any security issues with how the software is being used.

---------

Co-authored-by: Claude Opus 5 <[email protected]>
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.20.1 to 2.21.1.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](step-security/harden-runner@b09bb98...e14015d)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.20.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot changed the title chore(deps): bump step-security/harden-runner from 2.19.4 to 2.20.1 chore(deps): bump step-security/harden-runner from 2.20.1 to 2.21.1 Sep 14, 2026
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/step-security/harden-runner-2.20.1 branch from 09130bf to 61022af Compare September 14, 2026 10:37
@atzoum

atzoum commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR is already up-to-date with master! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@github-actions github-actions Bot removed the Stale label Sep 15, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #7398.

@dependabot dependabot Bot closed this Sep 15, 2026
@dependabot
dependabot Bot deleted the dependabot/github_actions/step-security/harden-runner-2.20.1 branch September 15, 2026 09:33
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 github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant