Update Dependencies #45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |