Skip to content

Commit 2817fa3

Browse files
committed
try with trusting git workspace
1 parent 7463bd5 commit 2817fa3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,14 @@ jobs:
6565
fits2bitmap -o original_${{ env.BRANCH_NAME }}.png reference/RomanWAS_new/images/truth/Roman_WAS_truth_J129_12909_4.fits.gz
6666
fits2bitmap -o new_${{ env.BRANCH_NAME }}.png output/RomanWAS_new/images/truth/Roman_WAS_truth_J129_12909_4.fits.gz
6767
68+
# Trust the workspace for git
69+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
70+
6871
- name: Comment on PR with Images
6972
if: env.IMAGE_CHANGED == 'true' && github.event_name == 'pull_request'
7073
uses: opengisch/comment-pr-with-images@upload_only
74+
env:
75+
GIT_CONFIG_PARAMETERS: "'safe.directory=/github/workspace'"
7176
with:
7277
images: "original_${{ env.BRANCH_NAME }}.png,new_${{ env.BRANCH_NAME }}.png"
7378
upload_to: github_branch

0 commit comments

Comments
 (0)