From d4b743fc42a395e0aa2d538846ddf7f9d05361ce Mon Sep 17 00:00:00 2001 From: Peter Bwire Date: Mon, 31 Aug 2026 16:50:01 +0300 Subject: [PATCH] ci: pin release-drafter to v7 and make the `tests` target phony MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - release-drafter/release-drafter@master no longer resolves (the upstream default branch is now `main`), so every Release Drafter run since 2026-07-27 failed and no drafts were produced. Pin to the v7 major tag and declare the permissions the action needs. - A `tests/` directory shadows the `tests` Make target, so `make tests` reported "'tests' is up to date" and ran nothing — which also silently disabled the pre-push hook's test gate. Mark it .PHONY. Claude-Session: https://claude.ai/code/session_019TZcnhbJoDSoDgz4WsTTS3 --- .github/workflows/draft_release.yml | 6 +++++- Makefile | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/draft_release.yml b/.github/workflows/draft_release.yml index a8cc9952..277e7d6b 100644 --- a/.github/workflows/draft_release.yml +++ b/.github/workflows/draft_release.yml @@ -5,10 +5,14 @@ on: branches: - main +permissions: + contents: write + pull-requests: read + jobs: update_release_draft: runs-on: ubuntu-latest steps: - - uses: release-drafter/release-drafter@master + - uses: release-drafter/release-drafter@v7 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Makefile b/Makefile index 8feb1f7f..a5c6f48c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ SHELL := /bin/bash -.PHONY: help clean build +.PHONY: help clean build tests default: format build