actions
This commit is contained in:
parent
b60ee587e1
commit
8b65d0d9ca
1 changed files with 33 additions and 0 deletions
33
.vscode/.gitea/workflows/update-dependencies.yaml
vendored
Normal file
33
.vscode/.gitea/workflows/update-dependencies.yaml
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
name: Update Dependencies
|
||||
on:
|
||||
schedule:
|
||||
- cron: '@daily'
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
update-deps:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup bun.sh
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Update dependencies
|
||||
run: |
|
||||
bunx taze -w
|
||||
bun install
|
||||
|
||||
- name: Commit updates
|
||||
run: |
|
||||
git config user.name "gitea-actions[bot]"
|
||||
git config user.email "gitea-actions[bot]@git.z0x.ca"
|
||||
git add .
|
||||
git commit -m "chore(deps): bump dependencies"
|
||||
git push
|
Loading…
Add table
Add a link
Reference in a new issue