We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc6f704 commit f4b4358Copy full SHA for f4b4358
.github/workflows/gas-snapshot-update.yml
@@ -1,7 +1,9 @@
1
-name: Update Gas Snapshot on Push
+name: Update Gas Snapshot on Merge
2
3
on:
4
push:
5
+ branches:
6
+ - develop # ToDo: change develop to main when main branch is ready
7
paths:
8
- 'src/**'
9
- 'test/**'
@@ -17,7 +19,7 @@ jobs:
17
19
- name: Checkout repository
18
20
uses: actions/checkout@v4
21
with:
- ref: ${{ github.head_ref }}
22
+ ref: ${{ github.ref }}
23
24
- name: Setup Node.js
25
uses: actions/setup-node@v4
@@ -35,3 +37,4 @@ jobs:
35
37
36
38
commit_message: "chore(gas): update .gas-snapshot [skip ci]"
39
file_pattern: .gas-snapshot
40
+ branch: ${{ github.ref }}
0 commit comments