Skip to content

Commit

Permalink
chore(version): bump to 0.15.0 (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertohuertasm authored Dec 24, 2022
1 parent 3f6c453 commit a8e6d82
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/bin
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Container image that runs your code
FROM ubuntu:20.04

ENV cli_version="v0.12.0"
ENV cli_version="v0.15.0"

RUN set -eux; \
apt update; \
Expand All @@ -14,5 +14,7 @@ RUN chmod +x licensebat; \
# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
DEALINGS IN THE SOFTWARE.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensebat GitHub Action

This GitHub action allows you to use Licensebat to check that the licenses of your project's dependencies are valid according to your licensing policy.
This GitHub action allows you to use [Licensebat](https://docs.rs/licensebat-cli) to check that the licenses of your project's dependencies are valid according to your licensing policy.

The action will fail if it finds an invalid license.

Expand All @@ -18,6 +18,8 @@ Note that this action uses [job summaries](https://github.blog/2022-05-09-superc

**Optional** `.licrc` file path. Default `".licrc"`.

[Learn more about the .licrc file](https://docs.rs/licensebat-cli/latest/licensebat_cli/#the-licrc-file).

## Example usage

```bash
Expand Down
3 changes: 2 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ runs:
- ${{ inputs.dependency-file-path }}
- -l
- ${{ inputs.licrc-path }}
- -f md
- -f
- md
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set -e

licensebat $* >> $GITHUB_STEP_SUMMARY
exit $?
exit $?
2 changes: 1 addition & 1 deletion test/.licrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ ignored=["ignored_dep1", "ignored_dep2"]
# False by default, if true, it will only run the checks when one of the dependency files or the .licrc file has been modified.
run_only_on_dependency_modification = true
# False by default, if true, it will never block the build.
do_not_block_pr = false
do_not_block_pr = false

0 comments on commit a8e6d82

Please sign in to comment.