Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Commit

Permalink
try to allow access to private repositories
Browse files Browse the repository at this point in the history
Signed-off-by: Achille Roussel <[email protected]>
  • Loading branch information
achille-roussel committed May 27, 2023
1 parent 91d03e0 commit bae036d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ concurrency:
env:
# renovate: datasource=go depName=github.com/golangci/golangci-lint
GOLANGCI_LINT_VERSION: v1.52.2
GOPRIVATE: github.com/stealthrocket/*

jobs:
spellcheck:
Expand Down Expand Up @@ -54,6 +55,11 @@ jobs:
name: Go Test
runs-on: ubuntu-latest
steps:
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.PRIVATE_ACCESS_TOKEN }}
run: git config --global url."https://stealthrocket:${TOKEN}@github.com".insteadOf "https://github.com"

- uses: actions/checkout@v3

- name: Set up Go
Expand Down

0 comments on commit bae036d

Please sign in to comment.