diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c533158..c64907e 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Test GitHub Action
uses: ./
with:
diff --git a/Dockerfile b/Dockerfile
index b976482..1c6d931 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM ghcr.io/urlstechie/urlchecker:0.0.34
+FROM ghcr.io/urlstechie/urlchecker:0.0.35
COPY entrypoint.sh /entrypoint.sh
WORKDIR /github/workspace
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
diff --git a/README.md b/README.md
index 83a7fb3..f4970e9 100644
--- a/README.md
+++ b/README.md
@@ -142,8 +142,9 @@ jobs:
| `timeout` | optional | The timeout to provide to requests to wait for a response. |
| `exclude_urls` | optional | A comma separated list of links. |
| `exclude_patterns` | optional | A comma separated list of patterns. |
-| `exclude_files` | optional | Full paths to files to exclude (comma separated list). |
-| `force_pass` | optional | Choose whether to force a pass when checks are done. |
+| `exclude_files` | optional | Full paths to files to exclude (comma separated list). |
+| `force_pass` | optional | Choose whether to force a pass when checks are done.
+| `no_check_certs` | optional | Skip checking certificates (use at your own risk). |
| `workers` | optional | The number of checks (one per file) to run in parallel, defaults to 9 |
## Details
diff --git a/action.yml b/action.yml
index 4fda049..1157842 100644
--- a/action.yml
+++ b/action.yml
@@ -15,6 +15,10 @@ inputs:
description: "Force pass of checking, regardless of the result."
required: false
+ no_check_certs:
+ description: "Skip certificate checking (default to false)"
+ required: false
+
branch:
description: "If a project (git_path) is defined, use this branch. Defaults to master"
required: false
diff --git a/entrypoint.sh b/entrypoint.sh
index 107ed36..a9fd6ae 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -15,6 +15,11 @@ if [ ! -z "${INPUT_BRANCH}" ]; then
COMMAND="${COMMAND} --branch ${INPUT_BRANCH}"
fi
+# no_check_certs is optional
+if [ ! -z "${INPUT_NO_CHECK_CERTS}" ]; then
+ COMMAND="${COMMAND} --no-check-certs"
+fi
+
# cleanup is optional (boolean)
if [ "${INPUT_CLEANUP}" == "true" ]; then
COMMAND="${COMMAND} --cleanup"