Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update github actions to be able to access private sg/sg #1112

Merged
merged 2 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: Publish Docker image dependencies
# We only want to build on releases; this condition is 100% stolen from the
# goreleaser action.
on:
workflow_dispatch:
push:
tags:
- "*"
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/go-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: Go CI

on:
- push
workflow_dispatch:
push:
env:
GOPRIVATE: "github.com/sourcegraph/*"
PRIVATE_TOKEN: "${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}"

jobs:
go-test:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/go-lint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: Go Lint

on:
- push
workflow_dispatch:
push:
env:
GOPRIVATE: "github.com/sourcegraph/*"
PRIVATE_TOKEN: "${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}"

jobs:
go-lint:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/goreleaser-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: GoReleaser check
on:
push:
workflow_dispatch:
env:
GOPRIVATE: "github.com/sourcegraph/*"
PRIVATE_TOKEN: "${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}"

jobs:
goreleaser:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Build and Release

on:
workflow_dispatch:
push:
tags:
- '*'
env:
GOPRIVATE: "github.com/sourcegraph/*"
PRIVATE_TOKEN: "${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}"

# There are two cases where this GitHub action will run:
#
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/scip.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: SCIP
'on':
- push
on:
workflow_dispatch:
push:
env:
GOPRIVATE: "github.com/sourcegraph/*"
PRIVATE_TOKEN: "${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}"
jobs:
scip-go:
runs-on: ubuntu-latest
Expand Down
Loading