Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for pr 219 #221

Merged
merged 9 commits into from
Dec 17, 2024
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"
Loading