From 029ebc45be58d58bfe589e71fd7cb3a13b358668 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 00:31:33 +0000 Subject: [PATCH 1/2] ci: add shared CI and Dependabot CI calls GameplanePanel/Gameplane's go-component reusable workflow (pinned by SHA): lint with Gameplane's .golangci.yml and .hadolint.yaml, race tests on amd64 and arm64 with the .testcoverage.yml gate, govulncheck (also weekly) and the image build. Dependabot covers Go modules, the Docker base images and the workflow pin. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Claude --- .github/dependabot.yml | 45 +++++++++++++++++++++++++++++++++++++++ .github/workflows/ci.yaml | 23 ++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/ci.yaml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..66b4a50 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,45 @@ +# Dependabot version updates for audit-syslog-bridge (moved here from GameplanePanel/Gameplane +# together with the code). CI is the shared Gameplane go-component workflow. +version: 2 +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "03:00" + commit-message: + prefix: "chore(deps)" + include: "scope" + open-pull-requests-limit: 5 + groups: + audit-syslog-bridge-minor-patch: + update-types: ["minor", "patch"] + + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "03:00" + commit-message: + prefix: "chore(deps)" + include: "scope" + open-pull-requests-limit: 5 + groups: + audit-syslog-bridge-docker-minor-patch: + update-types: ["minor", "patch"] + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "03:00" + commit-message: + prefix: "chore(deps)" + include: "scope" + open-pull-requests-limit: 5 + groups: + actions-minor-patch: + update-types: ["minor", "patch"] diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..49cc5ed --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,23 @@ +# CI: the shared Gameplane workflow for split components (lint with Gameplane's +# .golangci.yml and .hadolint.yaml, race tests on amd64 and arm64 with the +# .testcoverage.yml gate, govulncheck, image build). Pinned by SHA. +name: ci + +on: + pull_request: + push: + branches: [main] + schedule: + - cron: "17 4 * * 1" # weekly, so govulncheck sees new advisories + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + +jobs: + ci: + uses: GameplanePanel/Gameplane/.github/workflows/go-component.yaml@a9195f596eb0d36776767b691bbdd8f5962fa394 # master From ee4c18d3409ef4a1b683d0e83f7717090418b7e7 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 00:34:41 +0000 Subject: [PATCH 2/2] ci: pin the shared workflow to its hadolint fix Co-Authored-By: Claude Opus 5.5 Signed-off-by: Claude --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 49cc5ed..c64408a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,4 +20,4 @@ concurrency: jobs: ci: - uses: GameplanePanel/Gameplane/.github/workflows/go-component.yaml@a9195f596eb0d36776767b691bbdd8f5962fa394 # master + uses: GameplanePanel/Gameplane/.github/workflows/go-component.yaml@783aefb67b0744eaf8d0ee51cb10d94ae9739fd6 # master