Repository navigation
ci: start autorelease-tag only after a successful update run - #265
Merged
Merged
Conversation
dwisiswant0
approved these changes
Nov 4, 2026
dwisiswant0
added a commit
that referenced
this pull request
Nov 20, 2026
Replace the copied tag-and-release steps with a call to auto-release from projectdiscovery/workflows, so a fix to the release pipeline reaches every repository that calls it. auto-release tags and releases only when files outside .github changed since the latest v* tag, so empty commits and commits that touch only .github no longer produce a release. Releases are named after the tag and get GitHub's generated notes, and the archived actions/create-release is no longer used. The call is pinned to v1.0.0 by commit SHA because this job runs with contents: write from workflow_run, as #265 pinned the actions it replaces. The pin covers only auto-release.yaml, and this repository gets auto-release fixes only when the pin is bumped. Dependabot does not update GitHub Actions here, so the pin has to be bumped by hand. Closes: #271 Refs: projectdiscovery/workflows#9 Signed-off-by: Dwi Siswanto <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #264.
autorelease-tag.yml: theworkflow_runtrigger hasbranches: [main]. The job runs on other events as before, and onworkflow_runonly when the source run passed, is from this repository andmain, was scheduled or manual, and has the file.github/workflows/useragent-update.yml.permissions: contents: write(it creates a tag and a release).Checks:
dangerous-triggers(theworkflow_runtrigger itself) and old findings in lines that this PR does not change.Behaviour change: The update workflow failed on each scheduled run since at least 2026-09-27. The release workflow still ran after each failure. With this change, no automatic release happens until the update workflow passes again. Start "🔖 Tag Release" by hand to release in the meantime.