Skip to content

perf/feat: use new generator variants of list_repos in sync_repos #50

perf/feat: use new generator variants of list_repos in sync_repos

perf/feat: use new generator variants of list_repos in sync_repos #50

name: Create Self Hosted Release
on:
pull_request:
branches:
- main
types: [closed]
permissions:
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/[email protected]
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]
secrets: inherit
with:
push_release: true
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-worker' }}