File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1
- FROM python:3.8
1
+ FROM python:3.11-alpine
2
+
3
+ RUN set -eux; \
4
+ apk add --no-cache \
5
+ git \
6
+ gpg \
7
+ bash \
8
+ ;
2
9
COPY entrypoint.sh /entrypoint.sh
3
10
ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
+ # Reporting
5
6
gpg --version
7
+ git --version
6
8
7
9
if [[ -z $INPUT_GITHUB_TOKEN ]]; then
8
10
echo ' Missing input "github_token: ${{ secrets.GITHUB_TOKEN }}".' >&2
9
11
exit 1
10
12
fi
11
13
12
14
echo " Configuring Git username, email, and pull behavior..."
15
+
16
+ # Fix #56
17
+ # git config --global --add safe.directory "/__w/commitizen-action/commitizen-action"
18
+ git config --global --add safe.directory " ."
19
+ pwd
20
+
13
21
git config --local user.name " ${INPUT_GIT_NAME} "
14
22
git config --local user.email " ${INPUT_GIT_EMAIL} "
15
23
git config --local pull.rebase true
You can’t perform that action at this time.
0 commit comments