Skip to content

Commit

Permalink
Merge branch 'main' into 2815-add-repo-signal-fields
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-codecov authored Nov 8, 2024
2 parents c98c803 + 136300e commit 01aab33
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,25 @@ concurrency:
permissions:
contents: "read"
id-token: "write"
issues: "write"
pull-requests: "write"

jobs:
lint:
name: Run Lint
uses: codecov/gha-workflows/.github/workflows/[email protected].24
uses: codecov/gha-workflows/.github/workflows/[email protected].26

build:
name: Build API
uses: codecov/gha-workflows/.github/workflows/[email protected].24
uses: codecov/gha-workflows/.github/workflows/[email protected].26
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }}

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

# ats:
Expand All @@ -47,15 +49,15 @@ jobs:
test:
name: Test
needs: [build]
uses: codecov/gha-workflows/.github/workflows/[email protected].24
uses: codecov/gha-workflows/.github/workflows/[email protected].26
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }}

build-self-hosted:
name: Build Self Hosted API
needs: [build, test]
uses: codecov/gha-workflows/.github/workflows/[email protected].24
uses: codecov/gha-workflows/.github/workflows/[email protected].26
secrets: inherit
with:
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }}
Expand All @@ -64,7 +66,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/[email protected].24
uses: codecov/gha-workflows/.github/workflows/[email protected].26
secrets: inherit
with:
environment: staging
Expand All @@ -74,7 +76,7 @@ jobs:
name: Push Production Image
needs: [build, test]
if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected].24
uses: codecov/gha-workflows/.github/workflows/[email protected].26
secrets: inherit
with:
environment: production
Expand All @@ -85,7 +87,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/[email protected].24
uses: codecov/gha-workflows/.github/workflows/[email protected].26
with:
push_rolling: true
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }}
2 changes: 2 additions & 0 deletions codecov/settings_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@
"'sha256-eKdXhLyOdPl2/gp1Ob116rCU2Ox54rseyz1MwCmzb6w='",
"'sha256-a1pELtDJXf8fPX1YL2JiBM91RQBeIAswunzgwMEsvwA='",
"'sha256-cNIcuS0BVLuBVP5rpfeFE42xHz7r5hMyf9YdfknWuCg='",
"'sha256-bmwAzHxhO1mBINfkKkKPopyKEv4ppCHx/z84wQJ9nOY='",
"'sha256-jQoC6QpIonlMBPFbUGlJFRJFFWbbijMl7Z8XqWrb46o='",
"https://cdn.jsdelivr.net/npm/graphql-playground-react/build/static/js/middleware.js",
"https://cdn.jsdelivr.net/npm/graphql-playground-react/build/favicon.png",
"https://cdn.jsdelivr.net/npm/graphql-playground-react/build/static/css/index.css",
Expand Down

0 comments on commit 01aab33

Please sign in to comment.