Skip to content

Replace PHPSTAN_BOT_TOKEN with scoped tokens - #369

Open
ondrejmirtes wants to merge 1 commit into
2.1.xfrom
bot-tokens
Open

ondrejmirtes wants to merge 1 commit into
2.1.xfrom
bot-tokens

Conversation

@ondrejmirtes

Copy link
Copy Markdown
Member

PHPSTAN_BOT_TOKEN is revoked. The GitHub release is still created as phpstan-bot, now with the PHPSTAN_BOT_CONTENTS_TOKEN org secret (Contents write). The changelog generator only reads, so it uses the workflow token.

Needs PHPSTAN_BOT_CONTENTS_TOKEN shared with this repository and phpstan-bot to have Write here.

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