Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update action to include no checking certificate option and fixes to chromedriver / selenium #107

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,9 @@ jobs:
| `timeout` | <span style="color:green"> optional </span> | The timeout to provide to requests to wait for a response. |
| `exclude_urls` | <span style="color:green"> optional </span> | A comma separated list of links. |
| `exclude_patterns` | <span style="color:green"> optional </span> | A comma separated list of patterns. |
| `exclude_files` | <span style="color:green"> optional </span> | Full paths to files to exclude (comma separated list). |
| `force_pass` | <span style="color:green"> optional </span> | Choose whether to force a pass when checks are done. |
| `exclude_files` | <span style="color:green"> optional </span> | Full paths to files to exclude (comma separated list). |
| `force_pass` | <span style="color:green"> optional </span> | Choose whether to force a pass when checks are done.
| `no_check_certs` | <span style="color:green"> optional </span> | Skip checking certificates (use at your own risk). |
| `workers` | <span style="color:green"> optional </span> | The number of checks (one per file) to run in parallel, defaults to 9 |

## Details
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading