Skip to content

Update Governance Info #32345

Update Governance Info

Update Governance Info #32345

name: Update Governance Info
on:
schedule:
- cron: '*/15 * * * *'
workflow_dispatch:
jobs:
update-info:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run update_governance_info.sh script
run: |
chmod +x ./update_governance_info.sh
./update_governance_info.sh
continue-on-error: true
- name: Commit and push if there are changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add -A
git diff --quiet && git diff --staged --quiet || git commit -m "Update governance info"
git push