-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: switch user script updates from manual to GitHub Actions (#230)
- Loading branch information
1 parent
bdf7aa9
commit dfe2ef1
Showing
3 changed files
with
61 additions
and
14 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,36 @@ | ||
name: Update userscripts | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
update-userscripts: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [22.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- run: npm ci | ||
|
||
- run: npm run ci:build | ||
|
||
- uses: peter-evans/create-pull-request@v7 | ||
with: | ||
commit-message: "ci: update userscripts" | ||
delete-branch: true | ||
title: "ci: update userscripts" | ||
base: main | ||
body: | | ||
This PR was automatically generated to update the userscripts. It contains the latest changes from the main branch, and should be merged when the new release is ready. | ||
branch: update-userscripts | ||
reviewers: Robot-Inventor |
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