-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: added maintenance workflow to keep libraries up-to-date
- Loading branch information
1 parent
d44322d
commit d1c299b
Showing
4 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Maintenance | ||
|
||
on: | ||
schedule: | ||
- cron: '0 13 * * 1' | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
update-libraries: | ||
name: Update Libraries | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
|
||
- name: Update fenster | ||
run: wget https://raw.githubusercontent.com/zserge/fenster/main/fenster.h -O src/fenster.h | ||
|
||
- name: Update compat-5.3 | ||
run: | | ||
wget https://raw.githubusercontent.com/lunarmodules/lua-compat-5.3/master/c-api/compat-5.3.h -O src/compat-5.3.h | ||
wget https://raw.githubusercontent.com/lunarmodules/lua-compat-5.3/master/c-api/compat-5.3.c -O src/compat-5.3.c | ||
- name: Create pull request | ||
uses: peter-evans/[email protected] | ||
with: | ||
commit-message: 'chore(libs): update libraries' | ||
signoff: true | ||
branch: maintenance/update-libraries | ||
delete-branch: true | ||
title: 'chore(libs): update libraries' | ||
body: | | ||
This PR updates the libraries used by the project. | ||
labels: libraries | ||
reviewers: ${{ github.repository_owner }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters