diff --git a/.github/workflows/_compile.yml b/.github/workflows/_compile.yml index 2991be36..7cad5bf8 100644 --- a/.github/workflows/_compile.yml +++ b/.github/workflows/_compile.yml @@ -90,6 +90,7 @@ jobs: /root/regenerate-packages.sh - name: Create Pull Request + if: ${{ inputs.spe == 'no' }} id: cpr uses: peter-evans/create-pull-request@v6 with: @@ -99,18 +100,12 @@ jobs: body: Automated changes as part of the release title: Version files changes by the github bot - - name: Enable Pull Request Automerge - if: steps.cpr.outputs.pull-request-operation == 'created' - uses: peter-evans/enable-pull-request-automerge@v3 - with: - pull-request-number: ${{ steps.cpr.outputs.pull-request-number }} - merge-method: squash - - name: Notify on Discord on successful release + if: ${{ inputs.spe == 'no' }} uses: appleboy/discord-action@master with: webhook_id: ${{ secrets.DISCORD_ANNOUNCEMENTS_ID }} webhook_token: ${{ secrets.DISCORD_ANNOUNCEMENTS_TOKEN }} message: "New release of clib4 ${{ inputs.spe == 'yes' && 'SPE' || '' }}: **${{ inputs.git_tag }}** has been created. Check it out at: https://github.com/AmigaLabs/clib4/releases/tag/${{ inputs.git_tag }}" username: GitHub Actions - avatar_url: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" + avatar_url: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" \ No newline at end of file