Skip to content

Commit 665629b

Browse files
ondrejmirtesclaude
andcommitted
Replace deprecated actions/create-release with softprops/action-gh-release
actions/create-release was archived in 2021. Switch to the maintained softprops/action-gh-release (pinned to v3.0.0), keeping the changelog body and the PHPSTAN_BOT_TOKEN; release name/tag now use the clean tag name. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 3bac51b commit 665629b

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@ jobs:
2828
myToken: ${{ secrets.PHPSTAN_BOT_TOKEN }}
2929

3030
- name: "Create release"
31-
id: create-release
32-
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1.1.4
33-
env:
34-
GITHUB_TOKEN: ${{ secrets.PHPSTAN_BOT_TOKEN }}
31+
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
3532
with:
36-
tag_name: ${{ github.ref }}
37-
release_name: ${{ github.ref }}
33+
token: ${{ secrets.PHPSTAN_BOT_TOKEN }}
34+
tag_name: ${{ github.ref_name }}
35+
name: ${{ github.ref_name }}
3836
body: ${{ steps.changelog.outputs.changelog }}

0 commit comments

Comments
 (0)