Skip to content

Commit

Permalink
Update reusable-coverage-upload-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yoanm authored Aug 30, 2024
1 parent 972bdf4 commit 8bb2086
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/reusable-coverage-upload-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,19 @@ jobs:
checks: write # For the check run creation !
steps:
- name: 'Check run ○'
uses: yoanm/temp-reports-group-workspace/gha-attach-check-run-to-triggering-workflow@v0
uses: yoanm/temp-reports-group-workspace/utils/attach-check-run-to-triggering-workflow@v0
with:
name: 'Fetch coverage info'
name: 'Fetch triggering workflow metadata'
fails-on-triggering-workflow-failure: true

- uses: yoanm/temp-reports-group-workspace/gha-fetch-workflow-metadata@v0
- uses: yoanm/temp-reports-group-workspace/utils/fetch-workflow-metadata@v0
id: fetch-workflow-metadata

outputs:
commit-sha: ${{ steps.fetch-workflow-metadata.outputs.commit-sha }}
run-id: ${{ steps.fetch-workflow-metadata.outputs.run-id }}
branch: ${{ steps.fetch-workflow-metadata.outputs.branch }}
pull-request: ${{ steps.fetch-workflow-metadata.outputs.pull-request }}

codacy-uploader:
name: Codacy
Expand Down Expand Up @@ -60,6 +62,6 @@ jobs:
run-id: ${{ needs.fetch-info.outputs.run-id }}
force-git-commit: ${{ needs.fetch-info.outputs.commit-sha }}
force-git-branch: ${{ needs.fetch-info.outputs.branch }}
force-gh-pr: ${{ needs.fetch-info.outputs.pr-number }}
force-gh-pr: ${{ needs.fetch-info.outputs.pull-request }}
force-uploader-build: ${{ needs.fetch-info.outputs.run-id }}
force-uploader-build-url: ${{ needs.fetch-info.outputs.run-url }}

0 comments on commit 8bb2086

Please sign in to comment.