mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-24 23:35:19 +00:00
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)
This commit is contained in:
parent
8d07d9cb3b
commit
21dc0e21b3
5
.github/workflows/ci-release.yml
vendored
5
.github/workflows/ci-release.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user