Skip to content

Commit

Permalink
Merge pull request #170 from AndreasAugustin/fix/#168_CVE-2022-24765
Browse files Browse the repository at this point in the history
fix(cve): fix bug related to CVE-2022-24765 🔒
  • Loading branch information
AndreasAugustin committed Apr 16, 2022
2 parents d334269 + e231a7b commit 95afa9f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actions_template_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].0-draft
uses: AndreasAugustin/[email protected].1-draft
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: <owner/repo>
Expand Down Expand Up @@ -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/[email protected].0-draft
uses: AndreasAugustin/[email protected].1-draft
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: ${{ secrets.SOURCE_REPO_PATH }} # <owner/repo>, should be within secrets
Expand Down
4 changes: 2 additions & 2 deletions src/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
1 change: 1 addition & 0 deletions src/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ echo "set git global configuration"
git config --global user.email "[email protected].${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
Expand Down

0 comments on commit 95afa9f

Please sign in to comment.