From 21dc0e21b37a2e1d4791e430eebee6a7acac7b53 Mon Sep 17 00:00:00 2001 From: Robert Pirtle Date: Tue, 4 Jun 2024 13:02:13 -0700 Subject: [PATCH] ci: don't lint on release tag push (#1930) the release tag CI is run when semantic versioned tags are pushed. it is presumed that the commit and/or PR to the release branch being tagged has already passed the lints. this gets around Github Actions CI running check-proto-breaking-remote which compares the pushed commit against _master_ (not the previous release) --- .github/workflows/ci-release.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index bc8aa955..a562df82 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -4,9 +4,6 @@ on: tags: - "v[0-9]+.[0-9]+.[0-9]+*" jobs: - # run per commit ci checks against released version - lint-checks: - uses: ./.github/workflows/ci-lint.yml # run default ci checks against released version default-checks: uses: ./.github/workflows/ci-default.yml @@ -14,7 +11,7 @@ jobs: # get the version tag that triggered this workflow get-version-tag: # prep version release only if all checks pass - needs: [lint-checks, default-checks] + needs: default-checks runs-on: ubuntu-latest outputs: git-tag: ${{ steps.git-tag.outputs.tag }}