From 5430a43e1a2c076a44857ed7da887b23be445659 Mon Sep 17 00:00:00 2001 From: Ayesh Almeida Date: Fri, 28 Feb 2025 14:09:04 +0530 Subject: [PATCH] Fix codecov slug path --- .github/workflows/build-connector-template.yml | 2 +- .github/workflows/build-timestamp-master-template.yml | 2 +- .github/workflows/pr-build-connector-template.yml | 2 +- .github/workflows/pull-request-build-template.yml | 2 +- .github/workflows/s4hana-build-connector-template.yml | 2 +- .github/workflows/s4hana-pr-template.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-connector-template.yml b/.github/workflows/build-connector-template.yml index c751af0a..8261f0bf 100644 --- a/.github/workflows/build-connector-template.yml +++ b/.github/workflows/build-connector-template.yml @@ -77,7 +77,7 @@ jobs: uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} - slug: ballerina-platform/${{ github.event.inputs.repo }} + slug: ballerina-platform/${{ github.event.repository.name }} - name: Publish Connector if: ${{ inputs.publish-required == true }} diff --git a/.github/workflows/build-timestamp-master-template.yml b/.github/workflows/build-timestamp-master-template.yml index 83f016c2..ea23aa9a 100644 --- a/.github/workflows/build-timestamp-master-template.yml +++ b/.github/workflows/build-timestamp-master-template.yml @@ -50,7 +50,7 @@ jobs: uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} - slug: ballerina-platform/${{ github.event.inputs.repo }} + slug: ballerina-platform/${{ github.event.repository.name }} - name: Upload Artifact uses: actions/upload-artifact@v4 diff --git a/.github/workflows/pr-build-connector-template.yml b/.github/workflows/pr-build-connector-template.yml index 8f6a378d..f3d516f2 100644 --- a/.github/workflows/pr-build-connector-template.yml +++ b/.github/workflows/pr-build-connector-template.yml @@ -60,4 +60,4 @@ jobs: uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} - slug: ballerina-platform/${{ github.event.inputs.repo }} + slug: ballerina-platform/${{ github.event.repository.name }} diff --git a/.github/workflows/pull-request-build-template.yml b/.github/workflows/pull-request-build-template.yml index 8748df53..de4a5177 100644 --- a/.github/workflows/pull-request-build-template.yml +++ b/.github/workflows/pull-request-build-template.yml @@ -56,7 +56,7 @@ jobs: uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} - slug: ballerina-platform/${{ github.event.inputs.repo }} + slug: ballerina-platform/${{ github.event.repository.name }} windows-build: name: Build on Windows diff --git a/.github/workflows/s4hana-build-connector-template.yml b/.github/workflows/s4hana-build-connector-template.yml index 35009ba7..047db701 100644 --- a/.github/workflows/s4hana-build-connector-template.yml +++ b/.github/workflows/s4hana-build-connector-template.yml @@ -106,4 +106,4 @@ jobs: uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} - slug: ballerina-platform/${{ github.event.inputs.repo }} + slug: ballerina-platform/${{ github.event.repository.name }} diff --git a/.github/workflows/s4hana-pr-template.yml b/.github/workflows/s4hana-pr-template.yml index 677dbf0b..ed0704ce 100644 --- a/.github/workflows/s4hana-pr-template.yml +++ b/.github/workflows/s4hana-pr-template.yml @@ -72,7 +72,7 @@ jobs: uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} - slug: ballerina-platform/${{ github.event.inputs.repo }} + slug: ballerina-platform/${{ github.event.repository.name }} build-examples: name: Build Examples