mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 16:16:21 +00:00
25 lines
568 B
YAML
25 lines
568 B
YAML
name: Licensed
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
name: Check licenses
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0 # prefer to use a full fetch for licensed workflows
|
|
# https://github.com/jonabc/setup-licensed/releases/tag/v1.1.1
|
|
- uses: jonabc/setup-licensed@82c5f4d19e8968efa74a25b132922382c2671fe2
|
|
with:
|
|
version: '3.x'
|
|
- uses: ./.github/actions/install-dependencies
|
|
- run: licensed status
|