From 281fff026281c3f00c05e2582701df6a7c402fe1 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 22 Jul 2024 19:19:05 +0200 Subject: [PATCH] ci: remove consecutiveness step (#4273) --- .github/workflows/docs-deploy.yml | 12 ++++-------- .github/workflows/release-docker.yml | 11 ++--------- .github/workflows/release-nightly.yml | 15 ++++----------- 3 files changed, 10 insertions(+), 28 deletions(-) diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index 5205bf930f..d91b533cf9 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -5,17 +5,13 @@ on: branches: - main -jobs: - consecutiveness: - runs-on: ubuntu-latest - steps: - - uses: ignite/consecutive-workflow-action@main - with: - token: ${{ secrets.GITHUB_TOKEN }} +concurrency: + group: ci-${{ github.ref }}-docs-deploy + cancel-in-progress: true +jobs: build_and_deploy: runs-on: ubuntu-latest - needs: [ consecutiveness ] steps: - name: Checkout diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml index 32db38deec..5b2776bd95 100644 --- a/.github/workflows/release-docker.yml +++ b/.github/workflows/release-docker.yml @@ -2,7 +2,7 @@ name: Release Docker Image on: release: - types: [ published ] + types: [published] schedule: - cron: "0 0 * * *" # every day at midnight @@ -11,13 +11,6 @@ concurrency: cancel-in-progress: true jobs: - consecutiveness: - runs-on: ubuntu-latest - steps: - - uses: ignite/consecutive-workflow-action@main - with: - token: ${{ secrets.GITHUB_TOKEN }} - check-latest-run: runs-on: "ubuntu-latest" steps: @@ -34,7 +27,7 @@ jobs: name: Push Docker image to Docker Hub if: needs.check-latest-run.outputs.last_sha != github.sha runs-on: ubuntu-latest - needs: [ consecutiveness, check-latest-run ] + needs: [check-latest-run] steps: - name: Check out the repo diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index 58453eae09..1b8f44446b 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -10,13 +10,6 @@ concurrency: cancel-in-progress: true jobs: - consecutiveness: - runs-on: ubuntu-latest - steps: - - uses: ignite/consecutive-workflow-action@main - with: - token: ${{ secrets.GITHUB_TOKEN }} - check-latest-run: runs-on: "ubuntu-latest" steps: @@ -32,7 +25,7 @@ jobs: release-nightly: if: needs.check-latest-run.outputs.last_sha != github.sha runs-on: ubuntu-latest - needs: [ consecutiveness, check-latest-run ] + needs: [check-latest-run] env: working-directory: go/src/github.com/ignite/cli @@ -65,12 +58,12 @@ jobs: releases-binaries: if: needs.check-latest-run.outputs.last_sha != github.sha name: Release Go Binary - needs: [ consecutiveness, check-latest-run ] + needs: [check-latest-run] runs-on: ubuntu-latest strategy: matrix: - goos: [ linux, darwin ] - goarch: [ amd64, arm64 ] + goos: [linux, darwin] + goarch: [amd64, arm64] steps: - uses: actions/checkout@v4 - uses: wangyoucao577/go-release-action@v1.43