mirror of
https://github.com/creyD/autopep8_action.git
synced 2026-04-17 13:50:37 +02:00
Fixed a bug with function names
This commit is contained in:
@@ -5,7 +5,7 @@ set -eu
|
|||||||
|
|
||||||
# FUNCTIONS
|
# FUNCTIONS
|
||||||
# Function for setting up git env in the docker container (copied from https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh)
|
# Function for setting up git env in the docker container (copied from https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh)
|
||||||
_git_setup {
|
_git_setup() {
|
||||||
cat <<- EOF > $HOME/.netrc
|
cat <<- EOF > $HOME/.netrc
|
||||||
machine github.com
|
machine github.com
|
||||||
login $GITHUB_ACTOR
|
login $GITHUB_ACTOR
|
||||||
@@ -21,7 +21,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Checks if any files are changed
|
# Checks if any files are changed
|
||||||
_git_changed {
|
_git_changed() {
|
||||||
[[ -n "$(git status -s)" ]]
|
[[ -n "$(git status -s)" ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user