upgradebot.yml 856 B

1234567891011121314151617181920212223242526272829
  1. name: Run Geth Upgrade
  2. on:
  3. workflow_dispatch:
  4. schedule:
  5. # * is a special character in YAML so you have to quote this string
  6. - cron: '0 4 * * *'
  7. env:
  8. GITHUB_USERNAME: ${{ secrets.QUORUM_BOT_GITHUB_USERNAME }}
  9. GITHUB_USER_TOKEN: ${{ secrets.QUORUM_BOT_GITHUB_USER_TOKEN }}
  10. GOPATH: /tmp
  11. jobs:
  12. check_geth:
  13. runs-on: ubuntu-latest
  14. steps:
  15. - name: Set up Go 1.15
  16. uses: actions/setup-go@v1
  17. with:
  18. go-version: 1.15
  19. id: go
  20. - name: Clone upgrade geth bot
  21. run: |
  22. git clone https://github.com/Consensys/quorum-bots.git $GOPATH/src/upgradebot
  23. - name: Execute upgrade geth bot
  24. run: |
  25. git config --global user.email "${{github.actor}}@users.noreply.github.com"
  26. git config --global user.name "${{github.actor}}"
  27. go run upgradebot/cmd