diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9dd90e8..bfbef2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,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 @@ -67,7 +67,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 0ef256a..8f352b3 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -123,22 +123,22 @@ jobs: CUSTOMER_MONGO_AUTH_URL: mongodb://root:rootpass@127.0.0.1:27018 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: path: provisioner # Full history so diff-cover can resolve origin/. fetch-depth: 0 - - 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: provisioner/go.mod # Drop the `|| true` from the previous revision — it masked real test @@ -153,7 +153,7 @@ jobs: # package execution so the many DB-touching packages don't open # connections concurrently against the shared service containers. run: go test ./... -p 1 -coverprofile=coverage.out -covermode=atomic - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v6 with: files: provisioner/coverage.out flags: provisioner @@ -164,7 +164,7 @@ jobs: # covered by a test (100%), and the project floor stays >=95%. # Tool: diff-cover (https://github.com/Bachmann1234/diff-cover). # ------------------------------------------------------------------ - - 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/deploy.yml b/.github/workflows/deploy.yml index f9b7a3c..9fc6afe 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -74,14 +74,14 @@ jobs: # 2026-05-15: GITHUB_TOKEN is scoped to THIS repo only and 404s # on private sibling repos. REPO_ACCESS_TOKEN is a fine-grained # PAT with read access to InstaNode-dev/{common,proto}. - 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/golangci-lint.yml b/.github/workflows/golangci-lint.yml index a87b66e..0d6fa98 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: provisioner # 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('provisioner/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: provisioner/go.mod - - uses: golangci/golangci-lint-action@v8 + - uses: golangci/golangci-lint-action@v9 with: version: latest working-directory: provisioner diff --git a/.github/workflows/lychee.yml b/.github/workflows/lychee.yml index 5e46750..2c07a4d 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/typos.yml b/.github/workflows/typos.yml index d25ee6b..9039154 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 diff --git a/go.mod b/go.mod index 5eb3498..9f5a859 100644 --- a/go.mod +++ b/go.mod @@ -88,7 +88,7 @@ require ( go.yaml.in/yaml/v2 v2.4.2 // indirect golang.org/x/arch v0.27.0 // indirect golang.org/x/crypto v0.52.0 // indirect - golang.org/x/net v0.54.0 // indirect + golang.org/x/net v0.55.0 // indirect golang.org/x/oauth2 v0.34.0 // indirect golang.org/x/sync v0.20.0 // indirect golang.org/x/sys v0.45.0 // indirect diff --git a/go.sum b/go.sum index 92916e1..9ca556b 100644 --- a/go.sum +++ b/go.sum @@ -211,8 +211,8 @@ golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.54.0 h1:2zJIZAxAHV/OHCDTCOHAYehQzLfSXuf/5SoL/Dv6w/w= -golang.org/x/net v0.54.0/go.mod h1:Sj4oj8jK6XmHpBZU/zWHw3BV3abl4Kvi+Ut7cQcY+cQ= +golang.org/x/net v0.55.0 h1:bcvxaJn3e1U6InsFWt1JUq1aSjnRxLzT2rtD2KfkDF8= +golang.org/x/net v0.55.0/go.mod h1:L5U2KuzuOe1lY7Z+aWVIKK6qEeJXnXV9yzGA+WCHJww= golang.org/x/oauth2 v0.34.0 h1:hqK/t4AKgbqWkdkcAeI8XLmbK+4m4G5YeQRrmiotGlw= golang.org/x/oauth2 v0.34.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=