Skip to content

Commit

Permalink
Add sed for vcs
Browse files Browse the repository at this point in the history
  • Loading branch information
trent-codecov committed Dec 5, 2023
1 parent 635fbde commit e44d28b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
codecovstartup:
name: Codecov Startup
needs: install
uses: codecov/gha-workflows/.github/workflows/codecov-startup.yml@v1.2.12
uses: codecov/gha-workflows/.github/workflows/codecov-startup.yml@${{ vars.GHA_WORKFLOW_VERSION }}
secrets: inherit

runner-indexes:
Expand Down Expand Up @@ -292,7 +292,7 @@ jobs:
name: Build Self Hosted Image
secrets: inherit
if: ${{ !github.event.pull_request.head.repo.fork && 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@${{ vars.GHA_WORKFLOW_VERSION }}
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-frontend' }}
cache_requirements: false
Expand All @@ -302,7 +302,7 @@ jobs:
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@${{ vars.GHA_WORKFLOW_VERSION }}
with:
push_rolling: true
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-frontend' }}
Expand Down
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/create-release-pr.yml@v1.2.12
uses: codecov/gha-workflows/.github/workflows/create-release-pr.yml@${{ vars.GHA_WORKFLOW_VERSION }}
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 @@ -10,15 +10,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/create-release.yml@v1.2.12
uses: codecov/gha-workflows/.github/workflows/create-release.yml@${{ vars.GHA_WORKFLOW_VERSION }}
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/self-hosted.yml@v1.2.12
uses: codecov/gha-workflows/.github/workflows/self-hosted.yml@${{ vars.GHA_WORKFLOW_VERSION }}
secrets: inherit
with:
push_release: true
Expand Down

0 comments on commit e44d28b

Please sign in to comment.