Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade bot workflow #7

Closed
wants to merge 8 commits into from
Closed
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/upgradebot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Upgrade geth bot
on:
push:
baptiste-b-pegasys marked this conversation as resolved.
Show resolved Hide resolved
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 6,12 * * *'
ricardolyn marked this conversation as resolved.
Show resolved Hide resolved

env:
GITHUB_USERNAME: ${{ secrets.QUORUM_BOT_GITHUB_USERNAME }}
GITHUB_USER_TOKEN: ${{ secrets.QUORUM_BOT_GITHUB_USER_TOKEN }}
GOPATH: /tmp

jobs:
check_geth:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.15
uses: actions/setup-go@v1
with:
go-version: 1.15
id: go
- name: Clone upgrade geth bot
run: |
git clone https://github.com/pegasys-dev/quorum-bots.git $GOPATH/src/upgradebot
baptiste-b-pegasys marked this conversation as resolved.
Show resolved Hide resolved
- name: Execute upgrade geth bot
run: |
go run upgradebot/cmd