Skip to content

ci: add release-preview job to PR workflow - #759

Open
ehsandeep wants to merge 1 commit into
mainfrom
feat/release-preview-poc
Open

ci: add release-preview job to PR workflow#759
ehsandeep wants to merge 1 commit into
mainfrom
feat/release-preview-poc

Conversation

@ehsandeep

Copy link
Copy Markdown
Member

What

Adds a release-preview job to the existing build-test.yml PR workflow, powered by the new projectdiscovery/actions/release-preview reusable workflow (merged in actions#104).

What it does on every PR

  1. Checks out the full git history
  2. Runs svu next to compute the next semver version from conventional commits
  3. Writes a job summary: Next version: **v1.2.3**

What it does NOT do

  • ❌ Creates any git tag
  • ❌ Creates any GitHub release
  • ❌ Publishes any artifact

Completely safe for PR triggers.

How to verify

Open any PR that touches .go or .mod files — the Release preview check will appear alongside the build matrix and its summary will show the predicted next version.

Calls the new projectdiscovery/actions release-preview reusable workflow
on every PR that touches Go/mod files. Shows the predicted next semver
version in the job summary without creating any tag or GitHub release.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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