From 3dc39f9b9d881a306958e902043a1aa89f0d0996 Mon Sep 17 00:00:00 2001 From: semrel-sync-bot Date: Mon, 6 Jul 2026 08:21:23 +0000 Subject: [PATCH] chore: sync from plugin-template@1e28930 -- CODE_OF_CONDUCT.md CONTRIBUTING.md Dockerfile --- CODE_OF_CONDUCT.md | 2 +- CONTRIBUTING.md | 6 +++--- Dockerfile | 12 +++++------- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 2576b15..36a2d98 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,6 +1,6 @@ # Code of Conduct -{{PROJECT_NAME}} is committed to providing a welcoming and harassment-free community. +hook-gitplugin is committed to providing a welcoming and harassment-free community. ## Our Pledge diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7633fa5..39b8bab 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,4 +1,4 @@ -# Contributing to {{PROJECT_NAME}} +# Contributing to hook-gitplugin Thank you for your interest in contributing. @@ -11,11 +11,11 @@ Thank you for your interest in contributing. ## Workflow 1. Fork the repository and clone it locally -2. Create a topic branch from `{{DEFAULT_BRANCH}}` +2. Create a topic branch from `main` 3. Keep changes focused and easy to review 4. Run the relevant tests, lint checks, and build steps for the repo type 5. Update docs when behavior, APIs, or contributor workflow changes -6. Open a pull request against `{{DEFAULT_BRANCH}}` +6. Open a pull request against `main` ## Commit Messages diff --git a/Dockerfile b/Dockerfile index 381913c..ecbce2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,8 @@ # SPDX-License-Identifier: Apache-2.0 -# SPDX-FileCopyrightText: 2026 The plugin-template Authors +# SPDX-FileCopyrightText: 2026 The hook-gitplugin Authors # ── build stage ──────────────────────────────────────────────────────────────── -# Use BUILDPLATFORM so cross-compilation happens on the native runner (fast). -# TARGETOS/TARGETARCH are injected by buildx for each platform slice. -FROM --platform=$BUILDPLATFORM golang:1.24-alpine AS build +FROM --platform=$BUILDPLATFORM golang:1.25-alpine AS build ARG TARGETOS ARG TARGETARCH @@ -25,10 +23,10 @@ ARG VERSION=dev ARG BUILD_DATE ARG VCS_REF -LABEL org.opencontainers.image.title="semrel-plugin-hook-gitplugin" \ - org.opencontainers.image.description="semrel plugin: hook-gitplugin" \ +LABEL org.opencontainers.image.title="semrel-plugin-plugin-template" \ + org.opencontainers.image.description="semrel plugin template subprocess example" \ org.opencontainers.image.url="https://semrel.io" \ - org.opencontainers.image.source="https://github.com/SemRels/hook-gitplugin" \ + org.opencontainers.image.source="https://github.com/SemRels/plugin-template" \ org.opencontainers.image.version="${VERSION}" \ org.opencontainers.image.created="${BUILD_DATE}" \ org.opencontainers.image.revision="${VCS_REF}" \