-
Notifications
You must be signed in to change notification settings - Fork 29
70 lines (57 loc) · 2.27 KB
/
update-dependencies.yml
File metadata and controls
70 lines (57 loc) · 2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: Update Dependencies
# Setup Instructions:
# Option 1 (Recommended): Enable GitHub Actions to create PRs
# Go to: Settings → Actions → General → Workflow permissions
# Check: "Allow GitHub Actions to create and approve pull requests"
#
# Option 2: Use a Personal Access Token
# 1. Create a PAT with 'repo' scope at https://github.com/settings/tokens
# 2. Add it as a repository secret named 'PAT_TOKEN'
# 3. Go to: Settings → Secrets and variables → Actions → New repository secret
on:
schedule:
# Run every Monday at 9:00 AM UTC
- cron: '0 9 * * 1'
workflow_dispatch: # Allow manual trigger
permissions:
contents: write
pull-requests: write
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT_TOKEN || secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run update-all
run: npm run update-all
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PAT_TOKEN || secrets.GITHUB_TOKEN }}
commit-message: 'chore: update chain registries and Skip Go widget'
title: 'chore: automated dependency updates'
body: |
## Automated Dependency Updates
This PR contains automated updates for:
- Chain Registry packages (`chain-registry`, `@initia/initia-registry`)
- Skip Go Widget (`@skip-go/widget`)
- Generated chain configurations
### Changes
- Updated registry packages to latest versions
- Regenerated chain configurations from registries
- Updated Skip Go widget to latest version
Please review the changes and merge if everything looks good.
---
*This PR was automatically generated by the [update-dependencies workflow](https://github.com/${{ github.repository }}/actions/workflows/update-dependencies.yml)*
branch: automated/update-dependencies
branch-suffix: timestamp
delete-branch: true