From 8b65d0d9caa8e2e654753f93f8a4c5e22d29abc0 Mon Sep 17 00:00:00 2001 From: z0x Date: Sat, 4 Jan 2025 18:26:11 -0500 Subject: [PATCH] actions --- .../.gitea/workflows/update-dependencies.yaml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .vscode/.gitea/workflows/update-dependencies.yaml diff --git a/.vscode/.gitea/workflows/update-dependencies.yaml b/.vscode/.gitea/workflows/update-dependencies.yaml new file mode 100644 index 0000000..19a905f --- /dev/null +++ b/.vscode/.gitea/workflows/update-dependencies.yaml @@ -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