We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fa0a00 commit 74a6323Copy full SHA for 74a6323
entrypoint.sh
@@ -1,11 +1,11 @@
1
#!/bin/sh
2
set -eu
3
4
+cd "${GITHUB_WORKSPACE}" || exit
5
+
6
# Apply hotfix for 'fatal: unsafe repository' error (see #10).
7
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
8
-cd "${GITHUB_WORKSPACE}" || exit
-
9
if [ -z "${INPUT_TAG}" ]; then
10
echo "[action-create-tag] No-tag was supplied! Please supply a tag."
11
exit 1
0 commit comments