Skip to content

Commit b32c8eb

Browse files
ceritiumclaude
andcommitted
Add GitHub Actions workflow for syncing stacktodate config
Add a new workflow that runs on push to main/master branches to: - Build the stacktodate CLI - Verify the stacktodate.yml configuration matches detected versions - Push the configuration to the remote API for tracking This ensures the tech stack configuration stays synchronized and valid as part of the CI/CD pipeline. 🤖 Generated with Claude Code Co-Authored-By: Claude Haiku 4.5 <[email protected]>
1 parent c3f87ca commit b32c8eb

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Sync Stack To Date
2+
3+
on:
4+
push:
5+
branches: [ master, main ]
6+
7+
jobs:
8+
sync-stacktodate:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- name: Set up Go
14+
uses: actions/setup-go@v4
15+
with:
16+
go-version: '1.25'
17+
18+
- name: Download dependencies
19+
run: go mod download
20+
21+
- name: Build stacktodate
22+
run: go build -o stacktodate
23+
24+
- name: Check stacktodate config
25+
run: ./stacktodate check
26+
27+
- name: Push stacktodate config
28+
run: ./stacktodate push
29+
env:
30+
STD_TOKEN: ${{ secrets.STD_TOKEN }}

0 commit comments

Comments
 (0)