Repository navigation
Replace PHPSTAN_BOT_TOKEN with scoped tokens - #360
Merged
Merged
Conversation
|
|
||
| - name: "Checkout" | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # zizmor: ignore[artipacked] -- the persisted App token credentials push the merge below |
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.
Finishes moving phpdoc-parser off
PHPSTAN_BOT_TOKEN, after #359 did it forrelease.yml. Publishing 2.6.1 ransend-pr.yml, which failed with "Input required and not supplied: token", so phpstan-src never got the phpdoc-parser bump.send-pr.ymlnow runs in thebot-prenvironment withPHPSTAN_BOT_PULL_REQUESTS_TOKEN, the same as php-8-stubs.merge-maintained-branch.ymlnow runs in thepushenvironment. It mints a phpstan-push App token and merges with git, the same as phpstan-src, instead ofeverlytic/branch-mergewith the bot token. It only triggers on 1.22.x pushes, so this copy is the template for the next maintained branch..github/zizmor.ymlnow allows the release secrets that are actually used outside environments (PHPSTAN_BOT_CONTENTS_TOKEN,RELEASE_DISPATCH_TOKEN) instead ofPHPSTAN_BOT_TOKEN.actionlint 1.7.12 and
zizmor@1.32.0 --persona=auditorboth pass locally with no findings.Amp thread: https://ampcode.com/threads/T-01a23cc3-0490-7181-9065-13f0ab41c8b5