Skip to content

update to node table script #20

update to node table script

update to node table script #20

name: Update Node Tables
on:
push:
branches:
- main
permissions:
contents: write
jobs:
update-tables:
runs-on: hashgraph-docs-linux-medium
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get install -y jq

Check failure on line 19 in .github/workflows/update-node-tables.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/update-node-tables.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
- name: Run update script
run: ./update_node_tables.sh
- name: Commit changes
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add networks/mainnet/mainnet-nodes/README.md
git commit -m "chore: update node tables" || echo "No changes to commit"
git push