Update ACD Table #350
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 ACD Table | |
| on: | |
| schedule: | |
| # Run daily at 16:30 UTC and 20:00 UTC | |
| - cron: '30 16 * * *' | |
| - cron: '0 20 * * *' | |
| workflow_dispatch: | |
| # Allow manual triggering | |
| jobs: | |
| update-table: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Run update script | |
| run: python .github/sync/update_acd_table.py | |
| - name: Check for changes | |
| id: git-check | |
| run: | | |
| git diff --exit-code README.md || echo "changes=true" >> $GITHUB_OUTPUT | |
| - name: Commit and push changes | |
| if: steps.git-check.outputs.changes == 'true' | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add README.md | |
| git commit -m "Update ACD calls table from eth-protocol-transcripts" | |
| git push |