Skip to content

Commit d41dc2a

Browse files
gwleclercclaude
andcommitted
chore: extend Dependabot (gomod, npm), check the go-httpbin port, note the v tag convention
- Dependabot now also updates Go modules and npm packages (grouped, weekly), not just actions. - check-default-ports also verifies the go-httpbin proxy port (PROXY_TARGET_PORT, 8090). - Document the 'vX.Y.Z' tag convention in the CI trigger comments (bare X.Y.Z still works). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 7bfc34d commit d41dc2a

3 files changed

Lines changed: 26 additions & 4 deletions

File tree

.github/dependabot.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,23 @@ updates:
1010
github-actions:
1111
patterns:
1212
- "*"
13+
14+
# Go module dependencies.
15+
- package-ecosystem: gomod
16+
directory: /
17+
schedule:
18+
interval: weekly
19+
groups:
20+
gomod:
21+
patterns:
22+
- "*"
23+
24+
# Frontend (npm) dependencies.
25+
- package-ecosystem: npm
26+
directory: /
27+
schedule:
28+
interval: weekly
29+
groups:
30+
npm:
31+
patterns:
32+
- "*"

.github/workflows/main.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ on:
33
push:
44
branches:
55
- main
6-
# Release flavor is derived from the tag suffix in the deploy job:
6+
# Release flavor is derived from the tag suffix in the deploy job. Convention: prefix tags
7+
# with "v" (bare X.Y.Z is still accepted for backward compatibility).
78
tags:
8-
- '*.*.*' # stable semver (e.g. 1.2.3): published and marked "Latest"
9-
- '*-preview' # pre-release (e.g. 1.2.3-preview): published, never "Latest"
10-
- '*-draft' # draft (e.g. 1.2.3-draft): unpublished for review, never "Latest"
9+
- '*.*.*' # stable semver (e.g. v1.2.3): published and marked "Latest"
10+
- '*-preview' # pre-release (e.g. v1.2.3-preview): published, never "Latest"
11+
- '*-draft' # draft (e.g. v1.2.3-draft): unpublished for review, never "Latest"
1112
pull_request:
1213
branches:
1314
- main

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ smoke-docker:
174174
check-default-ports:
175175
@lsof -i:8080 > /dev/null && (echo "Port 8080 already in use"; exit 1) || true
176176
@lsof -i:8081 > /dev/null && (echo "Port 8081 already in use"; exit 1) || true
177+
@lsof -i:$(PROXY_TARGET_PORT) > /dev/null && (echo "Port $(PROXY_TARGET_PORT) (go-httpbin) already in use"; exit 1) || true
177178

178179
.PHONY: optimize
179180
optimize:

0 commit comments

Comments
 (0)