Skip to content

ci: release with the reusable auto-release workflow - #17

Merged
Mzack9999 merged 1 commit into
mainfrom
dwisiswant0/ci/release-with-the-reusable-auto-release-workflow
Nov 21, 2026
Merged

Mzack9999 merged 1 commit into
mainfrom
dwisiswant0/ci/release-with-the-reusable-auto-release-workflow

Conversation

@dwisiswant0

Copy link
Copy Markdown
Member

The release workflow did not request contents: write, and this
repository's GITHUB_TOKEN defaults to read-only, so creating the tag
failed with a 403 every week.

Call auto-release from projectdiscovery/workflows instead, from a job
that grants contents: write. auto-release also tags and releases only
when files outside .github changed since the latest v* tag; none have
since v0.0.2, so the next run releases nothing and succeeds.

Fixes: #16
Refs: projectdiscovery/workflows#9

The release workflow did not request contents: write, and this
repository's GITHUB_TOKEN defaults to read-only, so creating the tag
failed with a 403 every week.

Call auto-release from projectdiscovery/workflows instead, from a job
that grants contents: write. auto-release also tags and releases only
when files outside .github changed since the latest v* tag; none have
since v0.0.2, so the next run releases nothing and succeeds.

Fixes: #16
Refs: projectdiscovery/workflows#9
Signed-off-by: Dwi Siswanto <[email protected]>
@Mzack9999
Mzack9999 merged commit d0efcdb into main Nov 21, 2026
6 checks passed
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.

Weekly release workflow fails every week

2 participants