mirror of
https://github.com/apple/swift-nio
synced 2026-11-26 04:57:49 +00:00
[CI] Mark the workspace as safe for the matrix job (#2848)
# Motivation Some scripts that run as part of a matrix job may want to call git commands and the workspace needs to be marked as safe. # Modification This PR adds a step to mark the workspace as safe
This commit is contained in:
1 parent
837a1ddf57
commit
65db2dbfcb
1 file changed
+3
@@ -83,6 +83,9 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Mark the workspace as safe
|
||||
# https://github.com/actions/checkout/issues/766
|
||||
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
|
||||
- name: Run matrix job
|
||||
if: ${{ matrix.swift.enabled }}
|
||||
env:
|
||||
|
||||
Reference in new issue
Block a user