Update chains config #2308
This file contains 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 chains config | |
on: | |
schedule: | |
- cron: '0 * * * *' | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
node: [ 20 ] | |
steps: | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Checkout π‘ | |
uses: actions/checkout@v4 | |
with: | |
ref: main | |
- name: Cache node_modules π° | |
uses: actions/cache@v4 | |
with: | |
path: node_modules | |
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }} | |
- name: Install Dependencies 𧬠| |
if: steps.cache.outputs.cache-hit != 'true' | |
run: npm install | |
- name: Update chains | |
run: npm run ci:update | |
env: | |
CI: true | |
- name: Show Diff | |
run: git --no-pager diff | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
branch: update/chains | |
delete-branch: true | |
title: 'chore: update chains config' | |
commit-message: 'chore: update chains config' | |
body: LFG! π | |
labels: | | |
update | |
automated pr | |
assignees: zakarialounes | |
reviewers: zakarialounes | |
draft: true |