forked from lidofinance/lido-l2
-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (32 loc) · 1.04 KB
/
storage-layout-update.yml
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
name: Update .storage-layout
on:
workflow_dispatch:
jobs:
assert:
runs-on: ubuntu-latest
name: Update storage layout
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node.js version
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: "npm"
- name: Install node deps
run: npm ci
- name: Generate new .storage-layout
uses: lidofinance/storage-layout-action@v1
with:
mode: generate
src-folder: ./contracts
ignore-folders: stubs
- name: Create Pull Request
uses: lidofinance/create-pull-request@v4
with:
add-paths: .storage-layout
branch: update-storage-layout-${{ github.ref_name }}
delete-branch: true
commit-message: "fix: Make storage-layout up to date"
title: "Update .storage-layout for ${{ github.ref_name }} branch"
body: "This PR is generated automatically. Merge it to apply new version of .storage-layout"