Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contributing to {{PROJECT_NAME}}
# Contributing to hook-gitplugin

Thank you for your interest in contributing.

Expand All @@ -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

Expand Down
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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}" \
Expand Down
Loading