Skip to content

Commit

Permalink
preparing PR for new release (0.0.22) of urlchecker python. (#75)
Browse files Browse the repository at this point in the history
* preparing PR for new release (0.0.22) of urlchecker python.
This PR test will not work until the container has been built
* subfolder is missing
* adding force pass

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Feb 8, 2021
1 parent 8a60158 commit 58aece1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/urlstechie/urlchecker:0.0.20
FROM quay.io/urlstechie/urlchecker:0.0.22
COPY entrypoint.sh /entrypoint.sh
WORKDIR /github/workspace
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Ayoub Malek
Copyright (c) 2019-2021 Ayoub Malek and Vanessa Sochat

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ inputs:
description: "A project to clone. If not provided, assumes already cloned in the present working directory."
required: false

subfolder:
description: "A subfolder to parse instead of the root directory."
required: false

force_pass:
description: "Force pass of checking, regardless of the result."
required: false

branch:
description: "If a project (git_path) is defined, use this branch. Defaults to master"
required: false
Expand Down
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ fi

# exclude (previously whitelisted) urls are optional
if [ ! -z "${INPUT_EXCLUDE_URLS}" ]; then
COMMAND="${COMMAND} --white-listed-urls ${INPUT_EXCLUDE_URLS}"
COMMAND="${COMMAND} --exclude-urls ${INPUT_EXCLUDE_URLS}"
fi

# exclude (previously white listed) patterns are optional
if [ ! -z "${INPUT_EXCLUDE_PATTERNS}" ]; then
COMMAND="${COMMAND} --white-listed-patterns ${INPUT_EXCLUDE_PATTERNS}"
COMMAND="${COMMAND} --exclude-patterns ${INPUT_EXCLUDE_PATTERNS}"
fi

# exclude (previously white listed) files are optional
if [ ! -z "${INPUT_EXCLUDE_FILES}" ]; then
COMMAND="${COMMAND} --white-listed-files ${INPUT_EXCLUDE_FILES}"
COMMAND="${COMMAND} --exclude-files ${INPUT_EXCLUDE_FILES}"
fi


Expand Down

0 comments on commit 58aece1

Please sign in to comment.