testing both workflows v2 #76
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Node Tables | |
on: | |
push: | |
branches: | |
- notes-test | |
permissions: | |
contents: write | |
jobs: | |
update-tables: | |
runs-on: hashgraph-docs-linux-medium | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 # v3.6.0 | |
- name: Install dependencies | |
run: sudo apt-get install -y jq | |
- 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 |