Skip to content

Commit 2dcf119

Browse files
authored
Refactor CI for forked repositories - Add debug (#108)
1 parent f5b8ee0 commit 2dcf119

File tree

1 file changed

+5
-0
lines changed
  • .github/actions/reports-group/codacy-uploader

1 file changed

+5
-0
lines changed

.github/actions/reports-group/codacy-uploader/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,15 @@ runs:
8383
script: |
8484
core.setFailed('Unable to retrieve any report to upload. Something wrong most likely happened !');
8585
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+
8690
- name: Upload to codacy
8791
id: upload
8892
uses: codacy/codacy-coverage-reporter-action@v1
8993
env:
94+
GITHUB_WORKSPACE: ./empty-codacy-workspace # TMP
9095
GITHUB_SHA: ${{ inputs.override-commit }} # Lonely way to override the commit without having to deal with CLI uploader directly :/
9196
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`)
9297
with:

0 commit comments

Comments
 (0)