refactor: rebase from hard fork into soft fork that follows upstream
This commit is contained in:
parent
021accda4e
commit
8560239425
59 changed files with 2419 additions and 11935 deletions
35
.forgejo/workflows/update-dependencies.yaml
Normal file
35
.forgejo/workflows/update-dependencies.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
name: update dependencies
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
update-deps:
|
||||
runs-on: docker
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup bun.sh
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Update dependencies
|
||||
run: |
|
||||
bun update
|
||||
bun install
|
||||
|
||||
- name: Commit updates
|
||||
run: |
|
||||
git config user.name "actions[bot]"
|
||||
git config user.email "actions[bot]@git.z0x.ca"
|
||||
git add .
|
||||
if git diff --staged --quiet; then
|
||||
echo "No updates avalable"
|
||||
else
|
||||
git commit -m "chore(deps): bump dependencies"
|
||||
git push
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue