Skip to content

ci: generate CREDITS with gocredits v1.0.0 from a make target - #83

Merged
k1LoW merged 1 commit into
mainfrom
ci/credits-from-make-target
Sep 28, 2026
Merged

k1LoW merged 1 commit into
mainfrom
ci/credits-from-make-target

Conversation

@k1LoW

@k1LoW k1LoW commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • prerelease_for_tagpr runs gocredits, but neither it nor the tagpr workflow installs it, so CREDITS has never been created in this repository. The logs of past tagpr runs have expired, so this comes from reading the Makefile and workflow. The existing calls (gocredits . -w / gocredits . w) also put the flag after the directory, where it is ignored, so the file would not have been written even with gocredits installed.
  • A credits target now installs gocredits pinned to v1.0.0 and writes CREDITS, and both prerelease and prerelease_for_tagpr call it. This follows k1LoW/octocov@c919651.
  • -skip-missing is not used. donegroup has no dependencies today, and a future one without a readable license should make make credits fail instead of dropping out of CREDITS silently.

CREDITS is not added here. The next release pull request creates it (only the Go license for now).

prerelease_for_tagpr runs gocredits, but it does not depend on depsdev
and the tagpr workflow does not install gocredits either, so the
command is not found on the runner and CREDITS has never been created.
The calls were also written as "gocredits . -w" and "gocredits . w".
The flag after the directory is not parsed, so even an installed
gocredits would only have printed to stdout.

The credits target installs gocredits pinned to v1.0.0 and writes
CREDITS itself, and both prerelease and prerelease_for_tagpr call it,
so the two paths write the same file. depsdev no longer installs
gocredits because the credits target does.
@github-actions

Copy link
Copy Markdown
Contributor

Code Metrics Report

Coverage Code to Test Ratio Test Execution Time
93.5% 1:3.5 9s

Reported by octocov

@k1LoW
k1LoW marked this pull request as ready for review September 28, 2026 07:14
@k1LoW
k1LoW merged commit 3c59eee into main Sep 28, 2026
1 check passed
@k1LoW
k1LoW deleted the ci/credits-from-make-target branch September 28, 2026 07:14
@github-actions github-actions Bot mentioned this pull request Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant