Skip to content

Commit 1dd7a7e

Browse files
committed
build(ci): Add a workflow to update protocol parameters
1 parent a3e9454 commit 1dd7a7e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/update-params.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Update parameters
2+
3+
on:
4+
push: {}
5+
6+
env:
7+
BLOCKFROST_PROJECT_ID: ${{ secrets.BLOCKFROST_PROJECT_ID_MAINNET }}
8+
9+
jobs:
10+
update_parameters:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Git checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Update parameters
17+
run: ./fetch-params.sh mainnet
18+
19+
- name: Commit updated files
20+
uses: EndBug/add-and-commit@v9
21+
with:
22+
default_author: github_actions
23+
message: "build: Update protocol parameters [auto]"

0 commit comments

Comments
 (0)