File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ name: Update Node Tables
22
33on :
44 push :
5- branches :
6- - main
5+ branches : [main]
6+ workflow_dispatch :
7+ schedule :
8+ - cron : " 0 6 * * *" # daily at 06:00 UTC
79
810permissions :
911 contents : write
@@ -13,23 +15,22 @@ jobs:
1315 update-tables :
1416 runs-on : hashgraph-docs-linux-medium
1517 steps :
16- - name : Harden the runner (Audit all outbound calls)
17- uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
18+ - name : Harden the runner
19+ uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0
1820 with :
1921 egress-policy : audit
2022
21- - name : Checkout repository
22- uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
23+ - name : Checkout
24+ uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
2325
2426 - name : Install dependencies
25- run : sudo apt-get install -y jq
27+ run : sudo apt-get update && sudo apt-get install -y jq
2628
2729 - name : Run update script
2830 run : ./update_node_tables.sh
2931
3032 - name : Create Pull Request
31- if : ${{ steps.git-check.outputs.changes == 'true' }}
32- uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
33+ uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
3334 with :
3435 commit-message : " chore: update node tables"
3536 sign-commits : true
You can’t perform that action at this time.
0 commit comments