You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/actions/reports-group/codacy-uploader/action.yml
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -83,10 +83,15 @@ runs:
83
83
script: |
84
84
core.setFailed('Unable to retrieve any report to upload. Something wrong most likely happened !');
85
85
86
+
- name: TMP - create an empty workspace # Repository used for custom action might interfere with Codacy, so to check
87
+
shell: bash
88
+
run: mkdir empty-codacy-workspace
89
+
86
90
- name: Upload to codacy
87
91
id: upload
88
92
uses: codacy/codacy-coverage-reporter-action@v1
89
93
env:
94
+
GITHUB_WORKSPACE: ./empty-codacy-workspace # TMP
90
95
GITHUB_SHA: ${{ inputs.override-commit }} # Lonely way to override the commit without having to deal with CLI uploader directly :/
91
96
GITHUB_EVENT_NAME: push # Force the event to "push" to be sure uploader will leverage GITHUB_SHA and not something else (mostly in case event is `pull_request`)
0 commit comments