diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f638ecb73..2c497f4f69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,20 +12,18 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true - permissions: - contents: 'read' - id-token: 'write' + contents: "read" + id-token: "write" jobs: - lint: name: Run Lint - uses: codecov/gha-workflows/.github/workflows/lint.yml@v1.2.12 + uses: codecov/gha-workflows/.github/workflows/lint.yml@v1.2.19 build: name: Build API - uses: codecov/gha-workflows/.github/workflows/build-app.yml@v1.2.12 + uses: codecov/gha-workflows/.github/workflows/build-app.yml@v1.2.19 secrets: inherit with: repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }} @@ -33,14 +31,14 @@ jobs: codecovstartup: name: Codecov Startup needs: build - uses: codecov/gha-workflows/.github/workflows/codecov-startup.yml@v1.2.12 + uses: codecov/gha-workflows/.github/workflows/codecov-startup.yml@v1.2.19 secrets: inherit # ats: # name: ATS # needs: [build] # if: ${{ !github.event.pull_request.head.repo.fork && github.repository_owner == 'codecov' }} - # uses: codecov/gha-workflows/.github/workflows/run-ats.yml@v1.2.12 + # uses: codecov/gha-workflows/.github/workflows/run-ats.yml@v1.2.19 # secrets: inherit # with: # repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }} @@ -49,7 +47,7 @@ jobs: test: name: Test needs: [build] - uses: codecov/gha-workflows/.github/workflows/run-tests.yml@v1.2.12 + uses: codecov/gha-workflows/.github/workflows/run-tests.yml@v1.2.19 secrets: inherit with: repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }} @@ -57,7 +55,7 @@ jobs: build-self-hosted: name: Build Self Hosted API needs: [build, test] - uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.12 + uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.19 secrets: inherit with: repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }} @@ -66,7 +64,7 @@ jobs: name: Push Staging Image needs: [build, test] if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/staging' && github.repository_owner == 'codecov' }} - uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.17 + uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.19 secrets: inherit with: environment: staging @@ -74,9 +72,9 @@ jobs: production: name: Push Production Image - needs: [ build, test ] + needs: [build, test] if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }} - uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.17 + uses: codecov/gha-workflows/.github/workflows/push-env.yml@v1.2.19 secrets: inherit with: environment: production @@ -84,10 +82,10 @@ jobs: self-hosted: name: Push Self Hosted Image - needs: [ build-self-hosted, test ] + needs: [build-self-hosted, test] secrets: inherit if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }} - uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.12 + uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.19 with: push_rolling: true repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }} diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index cb3a5721a8..4e938e2513 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.18 \ No newline at end of file + uses: codecov/gha-workflows/.github/workflows/mypy.yml@v1.2.19 diff --git a/.github/workflows/self-hosted-release-pr.yml b/.github/workflows/self-hosted-release-pr.yml index f3d7e0033e..ae0a65882d 100644 --- a/.github/workflows/self-hosted-release-pr.yml +++ b/.github/workflows/self-hosted-release-pr.yml @@ -4,11 +4,11 @@ on: workflow_dispatch: inputs: versionName: - description: 'Name of version (ie 23.9.5)' + description: "Name of version (ie 23.9.5)" required: true 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.12 + uses: codecov/gha-workflows/.github/workflows/create-release-pr.yml@v1.2.19 secrets: inherit diff --git a/.github/workflows/self-hosted-release.yml b/.github/workflows/self-hosted-release.yml index 80db94a12d..03611ac4bd 100644 --- a/.github/workflows/self-hosted-release.yml +++ b/.github/workflows/self-hosted-release.yml @@ -7,14 +7,14 @@ on: types: [closed] permissions: - contents: 'read' - id-token: 'write' + contents: "read" + id-token: "write" 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.12 + uses: codecov/gha-workflows/.github/workflows/create-release.yml@v1.2.19 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.12 + uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@v1.2.19 secrets: inherit with: push_release: true