mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2026-06-16 16:38:51 +00:00
WIP
This commit is contained in:
parent
0146af9082
commit
c927e224f9
@ -11,15 +11,9 @@ setup() {
|
|||||||
touch "${test_repository}"/{a,b,c}.txt
|
touch "${test_repository}"/{a,b,c}.txt
|
||||||
cd "${test_repository}"
|
cd "${test_repository}"
|
||||||
|
|
||||||
if [[ $(pwd) == "/home/runner/work/git-auto-commit-action/git-auto-commit-action" ]]; then
|
|
||||||
git config --global user.email "test@github.com"
|
|
||||||
git config --global user.name "Test Suite"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
git init --quiet
|
git init --quiet
|
||||||
git add . > /dev/null 2>&1
|
git add . > /dev/null 2>&1
|
||||||
git commit --quiet -m "Init Repo"
|
git -c user.name="Test Suite" -c user.email="test@github.com" commit --quiet -m "Init Repo"
|
||||||
|
|
||||||
# Set default INPUT variables
|
# Set default INPUT variables
|
||||||
export INPUT_REPOSITORY="${BATS_TEST_DIRNAME}/test_repo"
|
export INPUT_REPOSITORY="${BATS_TEST_DIRNAME}/test_repo"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user