diff --git a/.github/workflows/actions_template_sync.yml b/.github/workflows/actions_template_sync.yml index 7600a46..58e9bef 100644 --- a/.github/workflows/actions_template_sync.yml +++ b/.github/workflows/actions_template_sync.yml @@ -14,9 +14,9 @@ jobs: steps: # To use this repository's private action, you must check out the repository - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: actions-template-sync - uses: AndreasAugustin/actions-template-sync@v0.2.1-draft + uses: AndreasAugustin/actions-template-sync@v0.3.1-draft with: github_token: ${{ secrets.GITHUB_TOKEN }} source_repo_path: AndreasAugustin/template diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f728b8f..95e9d19 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: steps: # To use this repository's private action, you must check out the repository - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Test action step uses: ./ # Uses an action in the root directory with: diff --git a/Dockerfile b/Dockerfile index 60de860..d49fb33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ###################################### FROM alpine:3.15.4 as dev -ARG GH_CLI_VER=2.3.0 +ARG GH_CLI_VER=2.8.0 # install packages RUN apk add --update --no-cache bash make git zsh curl tmux musl openssh diff --git a/README.md b/README.md index 5d91a48..9524a1f 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,9 @@ jobs: steps: # To use this repository's private action, you must check out the repository - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: actions-template-sync - uses: AndreasAugustin/actions-template-sync@v0.3.0-draft + uses: AndreasAugustin/actions-template-sync@v0.3.1-draft with: github_token: ${{ secrets.GITHUB_TOKEN }} source_repo_path: @@ -90,9 +90,9 @@ jobs: steps: # To use this repository's private action, you must check out the repository - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: actions-template-sync - uses: AndreasAugustin/actions-template-sync@v0.3.0-draft + uses: AndreasAugustin/actions-template-sync@v0.3.1-draft with: github_token: ${{ secrets.GITHUB_TOKEN }} source_repo_path: ${{ secrets.SOURCE_REPO_PATH }} # , should be within secrets diff --git a/src/Dockerfile b/src/Dockerfile index a8b8634..43ae698 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -1,6 +1,6 @@ -FROM alpine:3.15.0 +FROM alpine:3.15.4 -ARG GH_CLI_VER=2.3.0 +ARG GH_CLI_VER=2.8.0 # labels LABEL \ diff --git a/src/entrypoint.sh b/src/entrypoint.sh index a1a5982..4c5e283 100755 --- a/src/entrypoint.sh +++ b/src/entrypoint.sh @@ -38,6 +38,7 @@ echo "set git global configuration" git config --global user.email "github-action@actions-template-sync.noreply.${SOURCE_REPO_HOSTNAME}" git config --global user.name "${GITHUB_ACTOR}" git config --global pull.rebase false +git config --global --add safe.directory /github/workspace echo "::endgroup::" # shellcheck source=src/sync_template.sh