Skip to content

Commit 52b1e8a

Browse files
authored
Merge pull request #3686 from IntersectMBO/fix/commit-status-report-url
fix: commit status undefined group_name issue
2 parents 75b29fb + 4eb8518 commit 52b1e8a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/test_backend.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ jobs:
105105
needs: backend-tests
106106
outputs:
107107
report_number: ${{ steps.report-details.outputs.report_number }}
108+
group_name: ${{ steps.set-deployment-url.outputs.group_name }}
108109
steps:
109110
- uses: actions/checkout@v4
110111
- name: Download results
@@ -188,6 +189,7 @@ jobs:
188189
TEST_STATUS: ${{ needs.backend-tests.outputs.status }}
189190
REPORT_NUMBER: ${{ needs.publish-report.outputs.report_number }}
190191
GITHUB_TOKEN: ${{ github.token }}
192+
GROUP_NAME: ${{ needs.publish-report.outputs.group_name }}
191193

192194
env:
193195
BASE_URL: https://${{github.event.schedule && 'be.preview.gov.tools' || inputs.deployment || 'govtool.cardanoapi.io/api' }}

.github/workflows/test_integration_playwright.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ jobs:
145145
needs: integration-tests
146146
outputs:
147147
report_number: ${{ steps.report-details.outputs.report_number }}
148+
group_name: ${{ steps.set-deployment-url.outputs.group_name }}
148149
steps:
149150
- uses: actions/checkout@v4
150151
- name: Download report
@@ -218,7 +219,7 @@ jobs:
218219
with:
219220
name: allure-results
220221
path: allure-results
221-
222+
222223
- name: Set Commit Status
223224
if: always() && !github.event.schedule
224225
run: |
@@ -229,6 +230,7 @@ jobs:
229230
TEST_STATUS: ${{ needs.integration-tests.outputs.status }}
230231
REPORT_NUMBER: ${{ needs.publish-report.outputs.report_number }}
231232
GITHUB_TOKEN: ${{ github.token }}
233+
GROUP_NAME: ${{ needs.publish-report.outputs.group_name }}
232234
env:
233235
HOST_URL: https://${{ github.event.schedule && 'preview.gov.tools' || (inputs.deployment || 'govtool.cardanoapi.io') }}
234236
DEPLOYMENT: ${{ github.event.schedule && 'preview.gov.tools' || inputs.deployment || 'govtool.cardanoapi.io'}}

0 commit comments

Comments
 (0)