mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2026-01-10 09:04:24 +01:00
chore: add Dependabot configuration and update dependencies workflow
This commit is contained in:
9
.github/dependabot.yml
vendored
Normal file
9
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "monthly"
|
||||
labels:
|
||||
- "dependencies"
|
||||
- "github_actions"
|
||||
55
.github/workflows/update-dependencies.yml
vendored
Normal file
55
.github/workflows/update-dependencies.yml
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
name: Update Dependencies
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# 毎月1日の0時(UTC)に実行
|
||||
- cron: '0 0 1 * *'
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
update:
|
||||
name: Update Dependencies
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node & pnpm
|
||||
uses: ./.github/actions/setup-node
|
||||
|
||||
- name: Update pnpm version
|
||||
run: pnpm dlx corepack use pnpm@latest
|
||||
|
||||
- name: Update dependencies
|
||||
run: pnpm up --latest --no-frozen-lockfile
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
with:
|
||||
commit-message: 'chore(deps): update all dependencies'
|
||||
title: 'chore(deps): update all dependencies'
|
||||
body: |
|
||||
## Automated Dependency Update
|
||||
|
||||
This PR updates all dependencies to their latest versions.
|
||||
|
||||
### Changes
|
||||
- Updated all dependencies to the latest versions
|
||||
|
||||
### Checklist
|
||||
- [ ] Verify CI passes
|
||||
- [ ] Test the changes
|
||||
|
||||
---
|
||||
*This PR was automatically generated*
|
||||
branch: chore/update-dependencies
|
||||
delete-branch: true
|
||||
labels: |
|
||||
dependencies
|
||||
automated
|
||||
Reference in New Issue
Block a user