Skip to content

Commit ec5527c

Browse files
grokifyclaude
andcommitted
ci: migrate to standard reusable workflows
- Rename ci.yaml -> go-ci.yaml - Rename lint.yaml -> go-lint.yaml - Rename sast_codeql.yaml -> go-sast-codeql.yaml - Use plexusone/.github reusable workflows - Add path filters for Go files - Add explicit permissions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 3eadba0 commit ec5527c

6 files changed

Lines changed: 81 additions & 92 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/go-ci.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Go CI
2+
permissions:
3+
contents: read
4+
on:
5+
push:
6+
branches:
7+
- main
8+
paths:
9+
- '**.go'
10+
- 'go.mod'
11+
- 'go.sum'
12+
- '.github/workflows/go-ci.yaml'
13+
pull_request:
14+
branches:
15+
- main
16+
paths:
17+
- '**.go'
18+
- 'go.mod'
19+
- 'go.sum'
20+
- '.github/workflows/go-ci.yaml'
21+
workflow_dispatch:
22+
23+
jobs:
24+
ci:
25+
uses: plexusone/.github/.github/workflows/go-ci.yaml@main

.github/workflows/go-lint.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Go Lint
2+
permissions:
3+
contents: read
4+
on:
5+
push:
6+
branches:
7+
- main
8+
paths:
9+
- '**.go'
10+
- 'go.mod'
11+
- 'go.sum'
12+
- '.golangci.yml'
13+
- '.github/workflows/go-lint.yaml'
14+
pull_request:
15+
branches:
16+
- main
17+
paths:
18+
- '**.go'
19+
- 'go.mod'
20+
- 'go.sum'
21+
- '.golangci.yml'
22+
- '.github/workflows/go-lint.yaml'
23+
workflow_dispatch:
24+
25+
jobs:
26+
lint:
27+
uses: plexusone/.github/.github/workflows/go-lint.yaml@main
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Go SAST (CodeQL)
2+
permissions:
3+
actions: read
4+
contents: read
5+
security-events: write
6+
on:
7+
push:
8+
branches:
9+
- main
10+
paths:
11+
- '**.go'
12+
- 'go.mod'
13+
- 'go.sum'
14+
- '.github/workflows/go-sast-codeql.yaml'
15+
pull_request:
16+
branches:
17+
- main
18+
paths:
19+
- '**.go'
20+
- 'go.mod'
21+
- 'go.sum'
22+
- '.github/workflows/go-sast-codeql.yaml'
23+
schedule:
24+
- cron: '0 6 * * 1'
25+
workflow_dispatch:
26+
27+
jobs:
28+
sast:
29+
uses: plexusone/.github/.github/workflows/go-sast-codeql.yaml@main

.github/workflows/lint.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/sast_codeql.yaml

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)