Open suzuki-shunsuke opened 1 month ago
The workflow releaser.yml creates GitHub Releases.
I think you would expect that the workflow release-binaries.yml is triggered by publishing releases, but actually the workflow wasn't triggered because releases were created by GitHub Actions token.
GitHub Actions token doesn't trigger new workflow runs.
When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN, with the exception of workflow_dispatch and repository_dispatch, will not create a new workflow run.
So to trigger new workflow runs, you have to use a GitHub personal access token or GitHub App token instead.
The reusable workflow ipdxco/unified-github-workflows/.github/workflows/releaser.yml
accepts a GitHub Access token UCI_GITHUB_TOKEN
, so you can pass a GitHub personal access token but can't pass GitHub App token.
noted in https://github.com/ipld/go-car/pull/532#issuecomment-2339637334, but I don't have a solution; it could be that the releaser job needs a Go upgrade to match: https://github.com/ipld/go-car/blob/master/.github/workflows/release-binaries.yml strangely there's no errors from running it, it just doesn't seem to want to trigger since its last run for 2.13.1 https://github.com/ipld/go-car/actions/runs/6096867926
The release v2.13.1 was created by you.
On the other hand, v2.14.0 and v2.14.1 were created by GitHub Actions token.
That's why the releaser workflow wasn't triggered.
When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN, with the exception of workflow_dispatch and repository_dispatch, will not create a new workflow run.
Ahhh, you're right - I've always done the v2.x releases manually, leaving the version.json bump auto-release for the v0.x releases.
Attempting to fix with https://github.com/ipld/go-car/pull/540
As of v2.14.0, go-car hasn't released pre built binaries.
https://github.com/ipld/go-car/releases/tag/v2.14.0 https://github.com/ipld/go-car/releases/tag/v2.14.1
Seems like the GitHub Actions workflow doesn't work.
https://github.com/ipld/go-car/actions/workflows/release-binaries.yml