From fc2d33c132b5d14a4135ff9c8e11a88880686892 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 4 Oct 2025 04:27:47 +0000 Subject: [PATCH 1/2] Bump the actions group across 1 directory with 5 updates Bumps the actions group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [mongodb-labs/drivers-github-tools](https://github.com/mongodb-labs/drivers-github-tools) | `2` | `3` | | [actions/labeler](https://github.com/actions/labeler) | `5` | `6` | | [ossf/scorecard-action](https://github.com/ossf/scorecard-action) | `2.4.2` | `2.4.3` | | [actions/setup-python](https://github.com/actions/setup-python) | `5` | `6` | | [actions/setup-go](https://github.com/actions/setup-go) | `5` | `6` | Updates `mongodb-labs/drivers-github-tools` from 2 to 3 - [Release notes](https://github.com/mongodb-labs/drivers-github-tools/releases) - [Commits](https://github.com/mongodb-labs/drivers-github-tools/compare/v2...v3) Updates `actions/labeler` from 5 to 6 - [Release notes](https://github.com/actions/labeler/releases) - [Commits](https://github.com/actions/labeler/compare/v5...v6) Updates `ossf/scorecard-action` from 2.4.2 to 2.4.3 - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](https://github.com/ossf/scorecard-action/compare/05b42c624433fc40578a4040d5cf5e36ddca8cde...4eaacf0543bb3f2c246792bd56e8cdeffafb205a) Updates `actions/setup-python` from 5 to 6 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v5...v6) Updates `actions/setup-go` from 5 to 6 - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v5...v6) --- updated-dependencies: - dependency-name: mongodb-labs/drivers-github-tools dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/labeler dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: ossf/scorecard-action dependency-version: 2.4.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: actions/setup-python dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/setup-go dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/create-release-branch.yml | 6 +++--- .github/workflows/labeler.yml | 2 +- .github/workflows/merge-up.yml | 2 +- .github/workflows/release.yml | 12 ++++++------ .github/workflows/scorecard.yml | 2 +- .github/workflows/test.yml | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/create-release-branch.yml b/.github/workflows/create-release-branch.yml index 2d22c042cf..63eef2b088 100644 --- a/.github/workflows/create-release-branch.yml +++ b/.github/workflows/create-release-branch.yml @@ -33,17 +33,17 @@ jobs: outputs: version: ${{ steps.pre-publish.outputs.version }} steps: - - uses: mongodb-labs/drivers-github-tools/secure-checkout@v2 + - uses: mongodb-labs/drivers-github-tools/secure-checkout@v3 with: app_id: ${{ vars.APP_ID }} private_key: ${{ secrets.APP_PRIVATE_KEY }} - - uses: mongodb-labs/drivers-github-tools/setup@v2 + - uses: mongodb-labs/drivers-github-tools/setup@v3 with: aws_role_arn: ${{ secrets.AWS_ROLE_ARN }} aws_region_name: ${{ vars.AWS_REGION_NAME }} aws_secret_id: ${{ secrets.AWS_SECRET_ID }} artifactory_username: ${{ vars.ARTIFACTORY_USERNAME }} - - uses: mongodb-labs/drivers-github-tools/create-branch@v2 + - uses: mongodb-labs/drivers-github-tools/create-branch@v3 id: create-branch with: branch_name: ${{ inputs.branch_name }} diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 52474c6a6c..cb28413c10 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -9,4 +9,4 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v5 + - uses: actions/labeler@v6 diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index 5175b1c83b..64923fee10 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: mongodb-labs/drivers-github-tools/secure-checkout@v2 + - uses: mongodb-labs/drivers-github-tools/secure-checkout@v3 with: app_id: ${{ vars.PR_APP_ID }} private_key: ${{ secrets.PR_APP_PRIVATE_KEY }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e97115171e..ea2e9f26f4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,11 +33,11 @@ jobs: outputs: prev_version: ${{ steps.pre-publish.outputs.prev_version }} steps: - - uses: mongodb-labs/drivers-github-tools/secure-checkout@v2 + - uses: mongodb-labs/drivers-github-tools/secure-checkout@v3 with: app_id: ${{ vars.APP_ID }} private_key: ${{ secrets.APP_PRIVATE_KEY }} - - uses: mongodb-labs/drivers-github-tools/setup@v2 + - uses: mongodb-labs/drivers-github-tools/setup@v3 with: aws_role_arn: ${{ secrets.AWS_ROLE_ARN }} aws_region_name: ${{ vars.AWS_REGION_NAME }} @@ -45,7 +45,7 @@ jobs: artifactory_username: ${{ vars.ARTIFACTORY_USERNAME }} - name: Pre Publish id: pre-publish - uses: mongodb-labs/drivers-github-tools/golang/pre-publish@v2 + uses: mongodb-labs/drivers-github-tools/golang/pre-publish@v3 with: version: ${{ inputs.version }} push_changes: ${{ inputs.push_changes }} @@ -68,18 +68,18 @@ jobs: contents: write security-events: read steps: - - uses: mongodb-labs/drivers-github-tools/secure-checkout@v2 + - uses: mongodb-labs/drivers-github-tools/secure-checkout@v3 with: app_id: ${{ vars.APP_ID }} private_key: ${{ secrets.APP_PRIVATE_KEY }} - - uses: mongodb-labs/drivers-github-tools/setup@v2 + - uses: mongodb-labs/drivers-github-tools/setup@v3 with: aws_role_arn: ${{ secrets.AWS_ROLE_ARN }} aws_region_name: ${{ vars.AWS_REGION_NAME }} aws_secret_id: ${{ secrets.AWS_SECRET_ID }} artifactory_username: ${{ vars.ARTIFACTORY_USERNAME }} - name: Publish - uses: mongodb-labs/drivers-github-tools/golang/publish@v2 + uses: mongodb-labs/drivers-github-tools/golang/publish@v3 with: version: ${{ inputs.version }} silk_asset_group: ${{ env.SILK_ASSET_GROUP }} diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 97991c2bb5..9c2121aada 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -39,7 +39,7 @@ jobs: persist-credentials: false - name: "Run analysis" - uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2 + uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3 with: results_file: results.sarif results_format: sarif diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 879f4de7aa..fa4a70f1fd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,8 +17,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 - - uses: actions/setup-python@v5 - - uses: actions/setup-go@v5 + - uses: actions/setup-python@v6 + - uses: actions/setup-go@v6 with: go-version: 'stable' - uses: pre-commit/action@v3.0.1 From 4c3475eb83260c4d518b30f441ff43547e978fbb Mon Sep 17 00:00:00 2001 From: Qingyang Hu Date: Tue, 7 Oct 2025 18:37:28 -0400 Subject: [PATCH 2/2] update golangci-lint installation --- etc/golangci-lint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/golangci-lint.sh b/etc/golangci-lint.sh index 8d7903e927..fede529ed0 100755 --- a/etc/golangci-lint.sh +++ b/etc/golangci-lint.sh @@ -2,7 +2,7 @@ set -ex # Keep this in sync with go version used in static-analysis Evergreen build variant. -GO_VERSION=1.22.8 +GO_VERSION=1.23.0 GOLANGCI_LINT_VERSION=1.60.1 # Unset the cross-compiler overrides while downloading binaries. @@ -17,7 +17,7 @@ GOROOT="$(go${GO_VERSION} env GOROOT)" PATH="$GOROOT/bin:$PATH" export PATH export GOROOT -go install github.com/golangci/golangci-lint/cmd/golangci-lint@v${GOLANGCI_LINT_VERSION} +curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b "$(go env GOPATH)"/bin v${GOLANGCI_LINT_VERSION} export GOOS=$GOOS_ORIG export GOARCH=$GOARCH_ORIG