We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9253786 commit 315f275Copy full SHA for 315f275
1 file changed
.github/workflows/nightly-benchmark.yml
@@ -70,7 +70,8 @@ jobs:
70
- name: Checkout
71
uses: actions/checkout@v4
72
73
- - run: |
+ - name: Parse benchmark results and create PR
74
+ run: |
75
jq --argjson benchmark_results "$benchmark_results" \
76
'.consensus_parameters.${{ env.CONSENSUS_PARAMETERS_VERSION }}.gas_costs = $benchmark_results' \
77
bin/fuel-core/chainspec/local-testnet/chain_config.json > \
@@ -83,6 +84,9 @@ jobs:
83
84
git config user.name 'github-actions[bot]'
85
git config user.email 'github-actions[bot]@users.noreply.github.com'
86
git commit -m "Update benchmark results"
87
+
88
+ git push origin "$branch_name"
89
90
# create a new PR
91
gh pr create \
92
--title "chore(gas_costs): update local chain config with nightly benchmark results" \
0 commit comments