From 71d7f8f24e3bb3e9ffbc743194c0c3468d0ad347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0pa=C4=8Dek?= Date: Sun, 23 Nov 2025 18:31:43 +0100 Subject: [PATCH] Use `gh` to create a release instead of a custom action --- .github/workflows/create-release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index ee180eb..314e38e 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -47,8 +47,6 @@ jobs: ./phpcbf --version - name: "Create release ${{ steps.fetch_phar.outputs.version }}" if: success() && steps.commit_push.outputs.release - uses: ncipollo/release-action@v1 - with: - name: ${{ steps.fetch_phar.outputs.name }} - body: "Find the [release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/${{ steps.fetch_phar.outputs.version }}) for version ${{ steps.fetch_phar.outputs.version }} [here](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/${{ steps.fetch_phar.outputs.version }})." - tag: ${{ steps.fetch_phar.outputs.version }} + run: gh release create ${{ steps.fetch_phar.outputs.version }} --title "${{ steps.fetch_phar.outputs.name }}" --notes "Find the release notes for version ${{ steps.fetch_phar.outputs.version }} [here](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/${{ steps.fetch_phar.outputs.version }})." + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}