Skip to content

Commit

Permalink
chore(ci): bump to 1.2.21 for gha-workflows (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov authored Jun 4, 2024
1 parent cbf67ae commit c53b7fb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,33 @@ concurrency:
jobs:
lint:
name: Run Lint
uses: codecov/gha-workflows/.github/workflows/[email protected].20
uses: codecov/gha-workflows/.github/workflows/[email protected].21

build:
name: Build Worker
uses: codecov/gha-workflows/.github/workflows/[email protected].20
uses: codecov/gha-workflows/.github/workflows/[email protected].21
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}

codecovstartup:
name: Codecov Startup
needs: build
uses: codecov/gha-workflows/.github/workflows/[email protected].20
uses: codecov/gha-workflows/.github/workflows/[email protected].21
secrets: inherit

test:
name: Test
needs: [build]
uses: codecov/gha-workflows/.github/workflows/[email protected].20
uses: codecov/gha-workflows/.github/workflows/[email protected].21
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}

build-self-hosted:
name: Build Self Hosted Worker
needs: [build, test]
uses: codecov/gha-workflows/.github/workflows/[email protected].20
uses: codecov/gha-workflows/.github/workflows/[email protected].21
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}
Expand All @@ -56,7 +56,7 @@ jobs:
name: Push Staging Image
needs: [build, test]
if: ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/staging') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].20
uses: codecov/gha-workflows/.github/workflows/[email protected].21
secrets: inherit
with:
environment: staging
Expand All @@ -66,7 +66,7 @@ jobs:
name: Push Production Image
needs: [build, test]
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/prod') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].20
uses: codecov/gha-workflows/.github/workflows/[email protected].21
secrets: inherit
with:
environment: production
Expand All @@ -77,7 +77,7 @@ jobs:
needs: [build-self-hosted, test]
secrets: inherit
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/prod') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].20
uses: codecov/gha-workflows/.github/workflows/[email protected].21
with:
push_rolling: true
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ on:
jobs:
patch-typing-check:
name: Run Patch Type Check
uses: codecov/gha-workflows/.github/workflows/[email protected].20
uses: codecov/gha-workflows/.github/workflows/[email protected].21
2 changes: 1 addition & 1 deletion .github/workflows/self-hosted-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ on:
jobs:
create-release-pr:
name: Create PR for Release ${{ github.event.inputs.versionName }}
uses: codecov/gha-workflows/.github/workflows/[email protected].20
uses: codecov/gha-workflows/.github/workflows/[email protected].21
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/self-hosted-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
create-release:
name: Tag Release ${{ github.head_ref }} and Push Docker image to Docker Hub
if: ${{ github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].20
uses: codecov/gha-workflows/.github/workflows/[email protected].21
with:
tag_to_prepend: self-hosted-
secrets: inherit

push-image:
needs: [create-release]
if: ${{ github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].20
uses: codecov/gha-workflows/.github/workflows/[email protected].21
secrets: inherit
with:
push_release: true
Expand Down

0 comments on commit c53b7fb

Please sign in to comment.