Skip to content

Request release tags from phpstan/release - #368

Merged
ondrejmirtes merged 1 commit into
2.1.xfrom
release-app-tags
Nov 28, 2026
Merged

ondrejmirtes merged 1 commit into
2.1.xfrom
release-app-tags

Conversation

@ondrejmirtes

Copy link
Copy Markdown
Member

Only the phpstan-release GitHub App may create tags in the phpstan org ("Protect tags" ruleset), from tag.yml in phpstan/release after its release environment is approved. A tag pushed by phpstan-bot or by hand is rejected.

This create-tag.yml still computes the next patch or minor version from the latest tag on the branch it runs on, but dispatches tag.yml in phpstan/release with RELEASE_DISPATCH_TOKEN instead of pushing the tag. Same as phpstan/phpstan-src#7247.

Needs the RELEASE_DISPATCH_TOKEN org secret to be available to this repository.

with:
tag: ${{ steps.semvers.outputs.patch }}
message: ${{ steps.semvers.outputs.patch }}
GH_TOKEN: ${{ secrets.RELEASE_DISPATCH_TOKEN }}
@ondrejmirtes
ondrejmirtes merged commit 5b82381 into 2.1.x Nov 28, 2026
114 checks passed
@ondrejmirtes
ondrejmirtes deleted the release-app-tags branch November 28, 2026 12:05
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.

2 participants