diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..6f6032e --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,71 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + ":semanticCommits", + ":separateMultipleMajorReleases", + "helpers:pinGitHubActionDigests" + ], + "baseBranchPatterns": ["development"], + "postUpdateOptions": ["npmDedupe"], + "skipInstalls": false, + "timezone": "America/New_York", + "dependencyDashboard": true, + "dependencyDashboardApproval": true, + "prConcurrentLimit": 10, + "prHourlyLimit": 0, + "labels": ["dependencies"], + "minimumReleaseAge": null, + "rebaseWhen": "auto", + "rangeStrategy": "bump", + "automerge": false, + "automergeType": "pr", + "platformAutomerge": true, + "vulnerabilityAlerts": { + "enabled": true, + "dependencyDashboardApproval": false, + "automerge": false, + "labels": ["security", "vulnerability"] + }, + "packageRules": [ + { + "description": "Group GitHub Actions non-major updates into one PR", + "matchManagers": ["github-actions"], + "matchUpdateTypes": ["minor", "patch", "pin", "digest"], + "groupName": "github-actions-non-major", + "groupSlug": "github-actions-non-major" + }, + { + "description": "Group npm non-major updates into one PR", + "matchManagers": ["npm"], + "matchUpdateTypes": ["minor", "patch", "pin", "digest"], + "groupName": "npm-non-major", + "groupSlug": "npm-non-major" + }, + { + "description": "Group Dockerfile base image non-major updates into one PR", + "matchManagers": ["dockerfile"], + "matchUpdateTypes": ["minor", "patch", "pin", "digest"], + "groupName": "dockerfile-non-major", + "groupSlug": "dockerfile-non-major" + }, + { + "description": "Safety: keep major updates separate and require manual review", + "matchUpdateTypes": ["major"], + "automerge": false, + "labels": ["manual-review"] + }, + { + "description": "Block typescript v7 — a from-scratch rewrite with no typescript-eslint support yet, which breaks `npm run lint` outright. Re-enable once https://github.com/typescript-eslint/typescript-eslint/issues/10940 ships. Non-major 6.x updates still flow through.", + "matchPackageNames": ["typescript"], + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "description": "Block eslint v10 — changed the rule-context API (e.g. getFilename()) in a way eslint-config-next's bundled eslint-plugin-react doesn't support yet, which crashes `npm run lint`. Re-enable once eslint-config-next ships a compatible eslint-plugin-react. Non-major 9.x updates still flow through.", + "matchPackageNames": ["eslint"], + "matchUpdateTypes": ["major"], + "enabled": false + } + ] +} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..96e4b5f --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,18 @@ +name: release-please + +on: + push: + branches: [main] + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5 + with: + config-file: release-please-config.json + manifest-file: .release-please-manifest.json diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index a529970..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Release - -on: - push: - tags: - - "v*" - -permissions: - contents: write - -jobs: - release: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v7 - with: - fetch-depth: 0 - - - name: Set up Go - uses: actions/setup-go@v7 - with: - go-version-file: go.mod - - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v7 - with: - distribution: goreleaser - version: "~> 2" - args: release --clean - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..af55ef0 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.2.1" +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 09faf98..048284a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ via [GoReleaser](https://goreleaser.com/) on every tagged release. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/). +## [0.2.1](https://github.com/Wikid82/go_notify_yourself/compare/v0.2.0...v0.2.1) (2026-08-17) + + +### Bug Fixes + +* **release:** use go release-type for release-please ([8c6636b](https://github.com/Wikid82/go_notify_yourself/commit/8c6636b03c6aa1be50b2a2535d10379e90cc98ec)) + ## [Unreleased] ## [0.2.0] - 2026-08-17 diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..b5b6ea3 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "release-type": "go", + "pull-request-header": "Here's what's new in Go Notify Yourself", + "pull-request-footer": "Merge this PR to cut the release.", + "packages": { + ".": {} + } +}