mirror of
https://gitea.com/actions/upload-artifact.git
synced 2025-04-23 17:25:34 +08:00
27 lines
715 B
YAML
27 lines
715 B
YAML
name: Licensed
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
tags-ignore:
|
|
- '**'
|
|
jobs:
|
|
licenses:
|
|
runs-on: ubuntu-latest
|
|
name: Update licenses
|
|
steps:
|
|
# if using actions/checkout at major version 2 or greater,
|
|
# please set fetch-depth to a high number, or to 0.
|
|
# running this action can require access to more than just the latest commit on a branch
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: jonabc/setup-licensed@v1
|
|
with:
|
|
version: 3.x
|
|
- run: npm install # install your projects dependencies in local environment
|
|
- id: licensed
|
|
uses: jonabc/licensed-ci@v1
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|