-
Notifications
You must be signed in to change notification settings - Fork 0
ci: add license checker #3
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,24 @@ | ||||||
| name: Check Licenses | ||||||
| on: | ||||||
| push: | ||||||
| branches: ["main"] | ||||||
| pull_request: | ||||||
| branches: ["*"] | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wildcard will miss branch names with slashes. For pull_request, "*" won’t match branches like feature/foo. Use "**" or drop the filter. - pull_request:
- branches: ["*"]
+ pull_request:
+ branches: ["**"]🤖 Prompt for AI Agents |
||||||
|
|
||||||
| concurrency: | ||||||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||||||
| cancel-in-progress: true | ||||||
|
|
||||||
| jobs: | ||||||
| check_licenses: | ||||||
| name: Check Licenses | ||||||
| runs-on: ubuntu-latest | ||||||
| steps: | ||||||
| - name: Checkout | ||||||
| uses: actions/checkout@v4 | ||||||
| - name: Base Setup | ||||||
| uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 | ||||||
|
|
||||||
jamesbhobbs marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
| - name: Check Licenses | ||||||
jamesbhobbs marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
| run: yarn check-licenses | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Use jlpm for consistency with repo tooling. Most scripts use jlpm; align here. - run: yarn check-licenses
+ run: jlpm check-licenses📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quote “on” to satisfy yamllint.
As per static analysis hints.
📝 Committable suggestion
🧰 Tools
🪛 YAMLlint (1.37.1)
[warning] 2-2: truthy value should be one of [false, true]
(truthy)
🤖 Prompt for AI Agents