Add set-safe-directory input to allow customer to take control.

This commit is contained in:
Tingluo Huang 2022-04-19 03:57:01 +00:00 committed by GitHub
parent dcd71f6466
commit 49508e7d5c
11 changed files with 146 additions and 32 deletions

View file

@ -68,6 +68,9 @@ inputs:
When the `ssh-key` input is not provided, SSH URLs beginning with `git@github.com:` are
converted to HTTPS.
default: false
set-safe-directory:
description: Add repository path as safe.directory for Git global config by running `git config --global --add safe.directory <path>`
default: true
runs:
using: node16
main: dist/index.js