Skip to content

Commit

Permalink
Fixes for pr 219 (#221)
Browse files Browse the repository at this point in the history
* Removed the auto approval of the PR
  • Loading branch information
walkero-gr authored Dec 17, 2024
1 parent 3c1b993 commit 62bfde3
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/_compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"

0 comments on commit 62bfde3

Please sign in to comment.