From c53b7fb33e3d7364a8ba2b3de5a747ba5585a53b Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Wed, 5 Jun 2024 01:56:42 +0800 Subject: [PATCH] chore(ci): bump to 1.2.21 for gha-workflows (#491) --- .github/workflows/ci.yml | 16 ++++++++-------- .github/workflows/mypy.yml | 2 +- .github/workflows/self-hosted-release-pr.yml | 2 +- .github/workflows/self-hosted-release.yml | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43dbf5df1..44c0708a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,11 +21,11 @@ concurrency: jobs: lint: name: Run Lint - uses: codecov/gha-workflows/.github/workflows/lint.yml@v1.2.20 + uses: codecov/gha-workflows/.github/workflows/lint.yml@v1.2.21 build: name: Build Worker - uses: codecov/gha-workflows/.github/workflows/build-app.yml@v1.2.20 + uses: codecov/gha-workflows/.github/workflows/build-app.yml@v1.2.21 secrets: inherit with: repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }} @@ -33,13 +33,13 @@ jobs: codecovstartup: name: Codecov Startup needs: build - uses: codecov/gha-workflows/.github/workflows/codecov-startup.yml@v1.2.20 + uses: codecov/gha-workflows/.github/workflows/codecov-startup.yml@v1.2.21 secrets: inherit test: name: Test needs: [build] - uses: codecov/gha-workflows/.github/workflows/run-tests.yml@v1.2.20 + uses: codecov/gha-workflows/.github/workflows/run-tests.yml@v1.2.21 secrets: inherit with: repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }} @@ -47,7 +47,7 @@ jobs: build-self-hosted: name: Build Self Hosted Worker needs: [build, test] - uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.20 + uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.21 secrets: inherit with: repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }} @@ -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/push-env.yml@v1.2.20 + uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.21 secrets: inherit with: environment: staging @@ -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/push-env.yml@v1.2.20 + uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.21 secrets: inherit with: environment: production @@ -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/self-hosted.yml@v1.2.20 + uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.21 with: push_rolling: true repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }} diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index f5e880904..109227b3d 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -11,4 +11,4 @@ on: jobs: patch-typing-check: name: Run Patch Type Check - uses: codecov/gha-workflows/.github/workflows/mypy.yml@v1.2.20 + uses: codecov/gha-workflows/.github/workflows/mypy.yml@v1.2.21 diff --git a/.github/workflows/self-hosted-release-pr.yml b/.github/workflows/self-hosted-release-pr.yml index f57a08709..a01cb559f 100644 --- a/.github/workflows/self-hosted-release-pr.yml +++ b/.github/workflows/self-hosted-release-pr.yml @@ -10,5 +10,5 @@ on: jobs: create-release-pr: name: Create PR for Release ${{ github.event.inputs.versionName }} - uses: codecov/gha-workflows/.github/workflows/create-release-pr.yml@v1.2.20 + uses: codecov/gha-workflows/.github/workflows/create-release-pr.yml@v1.2.21 secrets: inherit diff --git a/.github/workflows/self-hosted-release.yml b/.github/workflows/self-hosted-release.yml index 83ad27402..f48acae36 100644 --- a/.github/workflows/self-hosted-release.yml +++ b/.github/workflows/self-hosted-release.yml @@ -14,7 +14,7 @@ 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/create-release.yml@v1.2.20 + uses: codecov/gha-workflows/.github/workflows/create-release.yml@v1.2.21 with: tag_to_prepend: self-hosted- secrets: inherit @@ -22,7 +22,7 @@ jobs: 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/self-hosted.yml@v1.2.20 + uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.21 secrets: inherit with: push_release: true