Skip to content

Commit 0b96097

Browse files
committed
remove use of private access token
1 parent cd4cbb3 commit 0b96097

File tree

5 files changed

+0
-23
lines changed

5 files changed

+0
-23
lines changed

.github/workflows/go-ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ name: Go CI
33
on:
44
workflow_dispatch:
55
push:
6-
env:
7-
GOPRIVATE: "github.com/sourcegraph/*"
8-
PRIVATE_TOKEN: "${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}"
9-
106
jobs:
117
go-test:
128
strategy:
@@ -24,7 +20,6 @@ jobs:
2420
uses: sourcegraph/actions/go-setup@main
2521
with:
2622
go-version: ${{ steps.mise.outputs.go-version }}
27-
private-token: ${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}
2823
- run: |
2924
go test -race -v ./...
3025
go test -v ./...

.github/workflows/go-lint.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ name: Go Lint
33
on:
44
workflow_dispatch:
55
push:
6-
env:
7-
GOPRIVATE: "github.com/sourcegraph/*"
8-
PRIVATE_TOKEN: "${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}"
96

107
jobs:
118
go-lint:
@@ -20,5 +17,4 @@ jobs:
2017
uses: sourcegraph/actions/go-setup@main
2118
with:
2219
go-version: ${{ steps.mise.outputs.go-version }}
23-
private-token: ${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}
2420
- run: ./dev/go-lint.sh

.github/workflows/goreleaser-check.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ name: GoReleaser check
33
on:
44
push:
55
workflow_dispatch:
6-
env:
7-
GOPRIVATE: "github.com/sourcegraph/*"
8-
PRIVATE_TOKEN: "${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}"
9-
106
jobs:
117
goreleaser:
128
name: check
@@ -23,7 +19,6 @@ jobs:
2319
uses: sourcegraph/actions/go-setup@main
2420
with:
2521
go-version: ${{ steps.mise.outputs.go-version }}
26-
private-token: ${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}
2722
- name: Check GoReleaser config
2823
uses: goreleaser/goreleaser-action@v5
2924
with:

.github/workflows/goreleaser.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ on:
55
push:
66
tags:
77
- '*'
8-
env:
9-
GOPRIVATE: "github.com/sourcegraph/*"
10-
PRIVATE_TOKEN: "${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}"
11-
128
# There are two cases where this GitHub action will run:
139
#
1410
# 1. We are releasing a new latest version for src-cli, as a major, minor, or patch
@@ -185,7 +181,6 @@ jobs:
185181
uses: sourcegraph/actions/go-setup@main
186182
with:
187183
go-version: ${{ steps.mise.outputs.go-version }}
188-
private-token: ${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}
189184
- run: go test ./...
190185
- run: go test -race -v ./...
191186
- run: echo "${DOCKER_PASSWORD}" | docker login -u=$DOCKER_USERNAME --password-stdin

.github/workflows/scip.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: SCIP
22
on:
33
workflow_dispatch:
44
push:
5-
env:
6-
GOPRIVATE: "github.com/sourcegraph/*"
7-
PRIVATE_TOKEN: "${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}"
85
jobs:
96
scip-go:
107
runs-on: ubuntu-latest
@@ -18,7 +15,6 @@ jobs:
1815
uses: sourcegraph/actions/go-setup@main
1916
with:
2017
go-version: ${{ steps.mise.outputs.go-version }}
21-
private-token: ${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}
2218

2319
- name: Set directory to safe for git
2420
run: git config --global --add safe.directory $GITHUB_WORKSPACE

0 commit comments

Comments
 (0)