diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 28e260472..9fc026d21 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -17,7 +17,7 @@ jobs: - name: Comment on PR env: GITHUB_TOKEN: ${{ github.token }} - run: gh pr comment ${{ github.event.number }} --body "🚀 **[Release workflow started](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/job/${{ github.job }})**" + run: gh pr comment ${{ github.event.number }} --body "🚀 **[Release workflow started](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})**" - uses: shivammathur/setup-php@v2 with: php-version: '7.4' diff --git a/scripts/create-release.mjs b/scripts/create-release.mjs index eeeeeba1d..48bd29a4a 100644 --- a/scripts/create-release.mjs +++ b/scripts/create-release.mjs @@ -102,7 +102,7 @@ async function createGithubRelease() { async function success() { console.log( chalk.bold.green( `✓ ${ pluginName } ${ pluginVersion } release created!` ) ); - const comment = `✅ **[${ pluginName } ${ pluginVersion } release](https://github.com/${ plugin.repo }/releases/tag/${ pluginVersion })** created!"`; + const comment = `✅ **[${ pluginName } ${ pluginVersion } release](https://github.com/${ plugin.repo }/releases/tag/${ pluginVersion })** created!`; await $`gh pr comment ${ prNumber } -R ${ plugin.repo } --edit-last --body ${ comment }` }