From 9ad13c9763ab4badace38f8ffb36d852f61554e1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 17:48:27 +0000 Subject: [PATCH 1/2] chore(deps): Bump the actions group with 6 updates Bumps the actions group with 6 updates: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `4` | `6` | | [actions/setup-go](https://github.com/actions/setup-go) | `5` | `6` | | [codecov/codecov-action](https://github.com/codecov/codecov-action) | `4` | `6` | | [actions/setup-python](https://github.com/actions/setup-python) | `5` | `6` | | [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) | `8` | `9` | | [crate-ci/typos](https://github.com/crate-ci/typos) | `1.30.0` | `1.46.3` | Updates `actions/checkout` from 4 to 6 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...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) Updates `codecov/codecov-action` from 4 to 6 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v4...v6) 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 `golangci/golangci-lint-action` from 8 to 9 - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v8...v9) Updates `crate-ci/typos` from 1.30.0 to 1.46.3 - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](https://github.com/crate-ci/typos/compare/v1.30.0...v1.46.3) --- updated-dependencies: - dependency-name: actions/checkout 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 - dependency-name: codecov/codecov-action dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major 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: golangci/golangci-lint-action dependency-version: '9' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: crate-ci/typos dependency-version: 1.46.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/coverage.yml | 12 ++++++------ .github/workflows/golangci-lint.yml | 10 +++++----- .github/workflows/lychee.yml | 2 +- .github/workflows/oasdiff.yml | 8 ++++---- .github/workflows/typos.yml | 4 ++-- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index de1ce885..22264026 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -93,7 +93,7 @@ jobs: # nosql package contributes to coverage too. TEST_MONGO_URI: mongodb://localhost:27017 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: path: api # Full history so diff-cover can resolve origin/ for the @@ -101,20 +101,20 @@ jobs: fetch-depth: 0 - name: Checkout proto sibling (for go.mod replace ../proto) - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: ${{ vars.PROTO_REPO || format('{0}/proto', github.repository_owner) }} token: ${{ secrets.REPO_ACCESS_TOKEN }} path: proto - name: Checkout common sibling (for go.mod replace ../common) - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: ${{ vars.COMMON_REPO || format('{0}/common', github.repository_owner) }} token: ${{ secrets.REPO_ACCESS_TOKEN }} path: common - - uses: actions/setup-go@v5 + - uses: actions/setup-go@v6 with: go-version-file: api/go.mod @@ -145,7 +145,7 @@ jobs: continue-on-error: true run: go test ./... -short -count=1 -p 1 -coverprofile=coverage.out -covermode=atomic - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v6 with: files: api/coverage.out flags: api @@ -159,7 +159,7 @@ jobs: # coverage" step above is continue-on-error, so it still produces # coverage.out even if a flaky test trips — the gate reads that file. # ------------------------------------------------------------------ - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 if: github.event_name == 'pull_request' with: python-version: '3.12' diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 3559a9a2..c15bb5c7 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -18,26 +18,26 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: path: api # Sibling checkouts (proto/common) for repos with replace directives. # No-op for repos that do not need them. - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 if: ${{ hashFiles('api/go.mod') != '' }} with: repository: InstaNode-dev/common path: common continue-on-error: true - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: repository: InstaNode-dev/proto path: proto continue-on-error: true - - uses: actions/setup-go@v5 + - uses: actions/setup-go@v6 with: go-version-file: api/go.mod - - uses: golangci/golangci-lint-action@v8 + - uses: golangci/golangci-lint-action@v9 with: version: latest working-directory: api diff --git a/.github/workflows/lychee.yml b/.github/workflows/lychee.yml index 5e467509..2c07a4d4 100644 --- a/.github/workflows/lychee.yml +++ b/.github/workflows/lychee.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: lycheeverse/lychee-action@v2 with: args: --no-progress --max-concurrency 4 --exclude-mail './**/*.md' './**/*.html' diff --git a/.github/workflows/oasdiff.yml b/.github/workflows/oasdiff.yml index d3984b46..2314206c 100644 --- a/.github/workflows/oasdiff.yml +++ b/.github/workflows/oasdiff.yml @@ -18,20 +18,20 @@ jobs: timeout-minutes: 10 steps: - name: Checkout PR - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: path: api - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: repository: InstaNode-dev/common path: common continue-on-error: true - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: repository: InstaNode-dev/proto path: proto continue-on-error: true - - uses: actions/setup-go@v5 + - uses: actions/setup-go@v6 with: go-version-file: api/go.mod - name: Build openapi.json from PR diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml index d25ee6b6..90391547 100644 --- a/.github/workflows/typos.yml +++ b/.github/workflows/typos.yml @@ -14,6 +14,6 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 3 steps: - - uses: actions/checkout@v4 - - uses: crate-ci/typos@v1.30.0 + - uses: actions/checkout@v6 + - uses: crate-ci/typos@v1.46.3 continue-on-error: true # warn-only — surface findings without blocking CI From 4d1d7da763a3aba7d58a00bc2b9a68a2cc1576dc Mon Sep 17 00:00:00 2001 From: "Claude (Manas)" Date: Fri, 29 May 2026 10:38:13 +0530 Subject: [PATCH 2/2] ci: fall back to GITHUB_TOKEN when REPO_ACCESS_TOKEN unavailable actions/checkout@v6 (bumped in this PR) errors on empty token input, whereas v4 silently tolerated it. Dependabot PRs run without access to Actions secrets, so secrets.REPO_ACCESS_TOKEN resolves to empty string and every sibling-repo checkout fails with: ##[error]Input required and not supplied: token The InstaNode-dev/{proto,common,api,infra} sibling repos are all public, so GITHUB_TOKEN (scoped to the running repo, read-only on org public siblings) is a valid fallback. Regular PRs continue to use the PAT. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/coverage.yml | 4 ++-- .github/workflows/deploy.yml | 4 ++-- .github/workflows/integration-backup.yml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3528e22..2b72c362 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,7 +106,7 @@ jobs: uses: actions/checkout@v6 with: repository: ${{ vars.PROTO_REPO || format('{0}/proto', github.repository_owner) }} - token: ${{ secrets.REPO_ACCESS_TOKEN }} + token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} path: _proto_ci - name: Place ../proto for Go replace directive @@ -116,7 +116,7 @@ jobs: uses: actions/checkout@v6 with: repository: ${{ vars.COMMON_REPO || format('{0}/common', github.repository_owner) }} - token: ${{ secrets.REPO_ACCESS_TOKEN }} + token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} path: _common_ci - name: Place ../common for Go replace directive @@ -191,7 +191,7 @@ jobs: uses: actions/checkout@v6 with: repository: ${{ vars.PROTO_REPO || format('{0}/proto', github.repository_owner) }} - token: ${{ secrets.REPO_ACCESS_TOKEN }} + token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} path: _proto_ci - run: mv _proto_ci ../proto @@ -200,7 +200,7 @@ jobs: uses: actions/checkout@v6 with: repository: ${{ vars.COMMON_REPO || format('{0}/common', github.repository_owner) }} - token: ${{ secrets.REPO_ACCESS_TOKEN }} + token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} path: _common_ci - run: mv _common_ci ../common diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 22264026..40117f1e 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -104,14 +104,14 @@ jobs: uses: actions/checkout@v6 with: repository: ${{ vars.PROTO_REPO || format('{0}/proto', github.repository_owner) }} - token: ${{ secrets.REPO_ACCESS_TOKEN }} + token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} path: proto - name: Checkout common sibling (for go.mod replace ../common) uses: actions/checkout@v6 with: repository: ${{ vars.COMMON_REPO || format('{0}/common', github.repository_owner) }} - token: ${{ secrets.REPO_ACCESS_TOKEN }} + token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} path: common - uses: actions/setup-go@v6 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4bcaf246..d6546220 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -110,14 +110,14 @@ jobs: # is a fine-grained PAT with read access to # InstaNode-dev/{common,proto}. Set via # `gh secret set REPO_ACCESS_TOKEN --repo InstaNode-dev/`. - token: ${{ secrets.REPO_ACCESS_TOKEN }} + token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} path: common - name: Checkout proto sibling into ./proto uses: actions/checkout@v6 with: repository: ${{ vars.PROTO_REPO || format('{0}/proto', github.repository_owner) }} - token: ${{ secrets.REPO_ACCESS_TOKEN }} + token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} path: proto - name: Compute build metadata diff --git a/.github/workflows/integration-backup.yml b/.github/workflows/integration-backup.yml index 4fad45a5..3405ed86 100644 --- a/.github/workflows/integration-backup.yml +++ b/.github/workflows/integration-backup.yml @@ -58,7 +58,7 @@ jobs: with: repository: ${{ github.repository_owner }}/infra path: infra - token: ${{ secrets.REPO_ACCESS_TOKEN }} + token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} - name: Install kubectl uses: azure/setup-kubectl@v5 - name: Set up Go