From 2be5378d2a8260b44b69d2f9ada85bc9434709c8 Mon Sep 17 00:00:00 2001 From: Marko Baricevic Date: Fri, 27 Mar 2020 15:38:55 +0100 Subject: [PATCH] cleanup redundant ci --- .circleci/config.yml | 5 +---- .github/workflows/sims.yml | 8 ++++++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7acc251827..6e65eff6ab 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,7 +11,7 @@ executors: AWS_REGION: us-east-1 protoc: docker: - - image: tendermintdev/docker-protoc + - image: bufbuild/buf commands: make: @@ -79,9 +79,6 @@ jobs: proto: executor: protoc steps: - - make: - target: protoc-gen-gocosmos - description: "Generate go plugin for protoc" - make: target: proto-gen proto-lint proto-check-breaking description: "Lint and verify Protocol Buffer definitions" diff --git a/.github/workflows/sims.yml b/.github/workflows/sims.yml index 73f3de53a7..d0b4b0fe7f 100644 --- a/.github/workflows/sims.yml +++ b/.github/workflows/sims.yml @@ -1,6 +1,14 @@ name: Sims on: [pull_request] jobs: + cleanup-runs: + runs-on: ubuntu-latest + steps: + - uses: rokroskar/workflow-run-cleanup-action@master + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'" + build: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, 'skip-sims')"