Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
id: changelog
uses: metcalfc/changelog-generator@bb7a08e07e326061351dab6ce89c72f13797043c # v4.9.1
with:
myToken: ${{ secrets.PHPSTAN_BOT_TOKEN }}
myToken: ${{ github.token }}

- name: "Create release" # zizmor: ignore[superfluous-actions]
uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4
with:
token: ${{ secrets.PHPSTAN_BOT_TOKEN }}
token: ${{ secrets.PHPSTAN_BOT_CONTENTS_TOKEN }}
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
body: ${{ steps.changelog.outputs.changelog }}
3 changes: 2 additions & 1 deletion .github/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ rules:
config:
# Repository-level secrets used by release automation; they are not scoped to deployment environments.
allow:
- PHPSTAN_BOT_TOKEN
- PHPSTAN_BOT_CONTENTS_TOKEN
- RELEASE_DISPATCH_TOKEN
- MASTODON_ACCESS_TOKEN
- TWITTER_CONSUMER_API_KEY
- TWITTER_CONSUMER_API_SECRET
Expand Down