console/.github/workflows/open-source-summary.yaml
renovate[bot] 16b0e13989
chore(deps): pin dependencies (#6627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 17:44:39 +02:00

25 lines
647 B
YAML

name: License Summary
on:
schedule:
- cron: '0 9 * * *'
workflow_dispatch: {}
jobs:
update:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 1
- name: setup environment
uses: ./.github/actions/setup
with:
codegen: false
- name: generate license summary
run: |
LICENSE_SUMMARY=$(npx license-checker --summary)
LICENSE_LIST=$(npx license-checker --list)
echo "\`\`\`\n$LICENSE_SUMMARY\n\n$LICENSE_LIST\n\`\`\`" >> $GITHUB_STEP_SUMMARY