Skip to content

Commit

Permalink
Unpin Cygwin git; add our .git as a safe.directory
Browse files Browse the repository at this point in the history
This undoes the change of pinning Git to an earlier version (before
the recent security update) on Cygwin, and instead adds the `.git`
subdirectory of the `GitPython` directory as an additional value of
the multi-valued `safe.directory` Git configuration varaible.
  • Loading branch information
EliahKagan committed May 26, 2024
1 parent cf81c6c commit 72fa4a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cygwin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up Cygwin
uses: egor-tensin/setup-cygwin@v4
with:
packages: python39=3.9.16-1 python39-pip python39-virtualenv git=2.43.0-1
packages: python39=3.9.16-1 python39-pip python39-virtualenv git

- name: Arrange for verbose output
run: |
Expand All @@ -40,6 +40,7 @@ jobs:
- name: Special configuration for Cygwin git
run: |
git config --global --add safe.directory "$(pwd)"
git config --global --add safe.directory "$(pwd)/.git"
git config --global core.autocrlf false
- name: Prepare this repo for tests
Expand Down

0 comments on commit 72fa4a6

Please sign in to comment.