Skip to content

Commit

Permalink
try safe directory
Browse files Browse the repository at this point in the history
  • Loading branch information
buenaflor committed Feb 29, 2024
1 parent 749ce95 commit 7b7e707
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- name: Fix git safe.directory in container
run: mkdir -p /home/runner/work/_temp/_github_home && printf "[safe]\n\tdirectory = /github/workspace" > /home/runner/work/_temp/_github_home/.gitconfig
- uses: actions/checkout@v4
- name: Add safe.directory
run: sh -c "git config --global --add safe.directory $PWD"
- name: Apply dependency override
if: ${{ inputs.package == 'flutter' }}
working-directory: ${{ inputs.package }}
Expand Down

0 comments on commit 7b7e707

Please sign in to comment.