Skip to content

Commit

Permalink
Trying something
Browse files Browse the repository at this point in the history
  • Loading branch information
benjyw committed Jun 29, 2022
1 parent d05e35d commit deccf27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@ jobs:
with:
fetch-depth: 10
- name: Configure Git
run: git config --global safe.directory "$GITHUB_WORKSPACE"
run: echo "XXX ${GITHUB_WORKSPACE} XXX" && git config --global --add safe.directory
"${GITHUB_WORKSPACE}"
- if: github.event_name == 'push'
name: Get commit message for branch builds
run: 'echo "COMMIT_MESSAGE<<EOF" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion build-support/bin/generate_github_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def checkout(*, containerized: bool = False) -> Sequence[Step]:
# + https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24765
{
"name": "Configure Git",
"run": 'git config --global safe.directory "$GITHUB_WORKSPACE"',
"run": 'echo "XXX ${GITHUB_WORKSPACE} XXX" && git config --global --add safe.directory "${GITHUB_WORKSPACE}"',
}
)
steps.extend(
Expand Down

0 comments on commit deccf27

Please sign in to comment.