From 7e15f61cad402674c34994f69927cde0d943b83e Mon Sep 17 00:00:00 2001 From: Erik Seliger Date: Fri, 17 Jul 2026 18:56:29 +0000 Subject: [PATCH] Add SCIP code intelligence upload workflow --- .github/workflows/scip-go.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/scip-go.yml diff --git a/.github/workflows/scip-go.yml b/.github/workflows/scip-go.yml new file mode 100644 index 0000000..b3b1755 --- /dev/null +++ b/.github/workflows/scip-go.yml @@ -0,0 +1,34 @@ +name: scip-go +"on": + push: + branches: [main] + paths: + - '**.go' + - '**/scip-go.yml' + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + scip-go: + if: github.repository_owner == 'sourcegraph' + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version-file: go.mod + + - name: Run scip-go and upload + uses: sourcegraph/scip-go-action@v2 + with: + sourcegraph-url: https://sourcegraph.sourcegraph.com/ + sourcegraph-token: ${{ secrets.SRC_ACCESS_TOKEN_S2 }} + upload: true