Skip to content

Commit c2b32c8

Browse files
authored
added a step to report licenses summary (#6434)
1 parent b7e4052 commit c2b32c8

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: License Summary
2+
on:
3+
schedule:
4+
- cron: '0 9 * * *'
5+
workflow_dispatch: {}
6+
7+
jobs:
8+
update:
9+
runs-on: ubuntu-22.04
10+
steps:
11+
- name: checkout
12+
uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 1
15+
16+
- name: setup environment
17+
uses: ./.github/actions/setup
18+
with:
19+
codegen: false
20+
21+
- name: generate license summary
22+
run: |
23+
npx license-checker --list > LICENSE_SUMMARY.txt
24+
25+
- name: upload summary to action
26+
run: cat LICENSE_SUMMARY.txt >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)