Skip to content

Commit eec10b4

Browse files
grokifyclaude
andcommitted
ci: migrate to reusable workflows from plexusone/.github
Replace inline CI/Lint/SAST workflows with reusable workflows: - ci.yaml → go-ci.yaml (uses plexusone/.github/.github/workflows/go-ci.yaml) - lint.yaml → go-lint.yaml (uses plexusone/.github/.github/workflows/go-lint.yaml) - sast_codeql.yaml → go-sast-codeql.yaml (uses plexusone/.github/.github/workflows/go-sast-codeql.yaml) Benefits: - Centralized workflow maintenance - Consistent CI across plexusone repositories - Path-based triggers to avoid unnecessary runs Also updates LICENSE copyright year to 2025-2026. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6ec0365 commit eec10b4

File tree

6 files changed

+81
-92
lines changed

6 files changed

+81
-92
lines changed

.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)