Skip to content

Commit

Permalink
chore: enable allow-license & exclude style dir (#119)
Browse files Browse the repository at this point in the history
* chore: enable allow-license & exclude style dir

* Create test.sh

* Revert "Create test.sh"

This reverts commit b100550.
  • Loading branch information
imbajin authored Nov 25, 2024
1 parent df9adf8 commit 2d8e6c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ apache-release.sh export-ignore
# ignored directory
.github/ export-ignore
.idea/ export-ignore
style/ export-ignore
scripts/ export-ignore
12 changes: 6 additions & 6 deletions .github/workflows/check-dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "3rd-party check"
name: "License header & 3rd-party check"

on:
pull_request:
Expand All @@ -8,22 +8,22 @@ permissions:
pull-requests: write

jobs:
dependency-review:
check-dependency:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
- name: 'Dependency Review'
uses: actions/dependency-review-action@v3
uses: actions/dependency-review-action@v4
# Refer: https://github.com/actions/dependency-review-action
with:
fail-on-severity: low
comment-summary-in-pr: on-failure
# Action will fail if dependencies don't match the list
#allow-licenses: Apache-2.0, MIT
# Action will fail if dependencies don't match the list (we could choose only one of the following)
deny-licenses: GPL-3.0, AGPL-1.0, AGPL-3.0, LGPL-2.0, CC-BY-3.0
#allow-licenses: Apache-2.0, MIT

check-license:
check-license-header:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 2d8e6c8

Please sign in to comment.