Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
d0b9cb4
Changed the mergeMaster action to include discord notification
walkero-gr Jan 20, 2025
b07c9e9
added a dummy file
walkero-gr Jan 20, 2025
cdba5d0
Merge pull request #24 from walkero-gr/test-PR-notification-1
walkero-gr Jan 20, 2025
f0a4c0a
disabled builds and updated the announcement message
walkero-gr Jan 20, 2025
1d3afd5
Some change in dummy
walkero-gr Jan 20, 2025
84d11aa
Merge pull request #25 from walkero-gr/test-PR-notification-1
walkero-gr Jan 20, 2025
368c970
did a fix in the compare url
walkero-gr Jan 20, 2025
c57bb6e
disabled builds and updated the announcement message
walkero-gr Jan 20, 2025
07bb26b
did a fix in the compare url
walkero-gr Jan 20, 2025
73703bd
2nd dummy change
walkero-gr Jan 20, 2025
0121fd9
Merge pull request #26 from walkero-gr/test-PR-notification-1
walkero-gr Jan 20, 2025
5c79e26
Added the compare url as a second announcement
walkero-gr Jan 20, 2025
bda85ff
Added the compare url as a second announcement
walkero-gr Jan 20, 2025
4bb4bc4
3rd change
walkero-gr Jan 20, 2025
14a9120
Merge pull request #27 from walkero-gr/test-PR-notification-1
walkero-gr Jan 20, 2025
a76aeb6
Added own compare url
walkero-gr Jan 20, 2025
4908d0b
4th change
walkero-gr Jan 20, 2025
f1579a7
Merge pull request #28 from walkero-gr/test-PR-notification-1
walkero-gr Jan 20, 2025
99460ce
change the comparison url
walkero-gr Jan 20, 2025
c7f84eb
5th change
walkero-gr Jan 20, 2025
a1be92d
Merge pull request #29 from walkero-gr/test-PR-notification-1
walkero-gr Jan 20, 2025
366dcd0
merge messages into one notification
walkero-gr Jan 20, 2025
e146ba4
6th change
walkero-gr Jan 20, 2025
d44a468
Merge pull request #30 from walkero-gr/test-PR-notification-1
walkero-gr Jan 20, 2025
1c43ecf
The slice didn't work
walkero-gr Jan 20, 2025
75c2112
7th change
walkero-gr Jan 20, 2025
b08d8c7
Merge pull request #31 from walkero-gr/test-PR-notification-1
walkero-gr Jan 20, 2025
55ad209
Discord announcement on PR merge
walkero-gr Jan 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Merge into master build
name: Merge into main branches
on:
pull_request:
branches:
- master
- development
types:
- closed

Expand Down Expand Up @@ -45,4 +46,18 @@ jobs:
spe: "yes"

- name: Create the release archive
run: make -f GNUmakefile.os4 release
run: make -f GNUmakefile.os4 release

announcements:
needs: [compile-ppc, compile-spe]
name: Notify on Discord on successful PR merge
runs-on: ubuntu-latest
steps:
- name: PR notification
uses: appleboy/discord-action@master
with:
webhook_id: ${{ secrets.DISCORD_ANNOUNCEMENTS_ID }}
webhook_token: ${{ secrets.DISCORD_ANNOUNCEMENTS_TOKEN }}
message: "clib4: New code merged into **${{ github.event.pull_request.base.ref }}**. Check it out at: ${{ github.event.pull_request.html_url }}. Compare it at: ${{ github.event.pull_request.base.repo.html_url }}/compare/${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }}"
username: "GitHub Actions"
avatar_url: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
4 changes: 2 additions & 2 deletions GNUmakefile.os4
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,9 @@ clean:
##############################################################################

gitver:
ifdef GITTAG
$(VERBOSE)sed -i 's/[(]\([0-9]*\.[0-9]*\.[0-9]*\)[)]/($(DATESTR))/g' library/c.lib_rev.h
$(VERBOSE)sed -i 's/"\([0-9]*\.[0-9]*\.[0-9]*\)"/"$(DATESTR)"/g' library/c.lib_rev.h
ifdef GITTAG
$(VERBOSE)sed -i 's/VERSION\t*[0-9]*/VERSION\t\t\t$(MAJOR)/g' library/c.lib_rev.h
$(VERBOSE)sed -i 's/REVISION\t*[0-9]*/REVISION\t\t$(MINOR)/g' library/c.lib_rev.h
$(VERBOSE)sed -i 's/SUBREVISION\t*[0-9]*/SUBREVISION\t\t$(PATCH)/g' library/c.lib_rev.h
Expand Down Expand Up @@ -442,7 +442,7 @@ release:
-$(COPY) libs/libauto.a clib4/lib/
-$(COPY) $(OUTPUT_LIB)/* clib4/lib/
-$(COPY) $(LIB_ROOT)/library/include/* clib4/include/
lha -ao5i clib4.lha clib4 clib4.info
@lha -ao5i clib4.lha clib4 clib4.info
-$(DELETE) clib4
-$(DELETE) clib4.info

Expand Down
Loading