-
-
Notifications
You must be signed in to change notification settings - Fork 7
39 lines (35 loc) · 940 Bytes
/
thirdparty.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Thirdparty
on:
schedule:
- cron: '54 10 * * *'
permissions:
contents: write
pull-requests: write
jobs:
update:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install packages
run: |
pnpm install --frozen-lockfile
npm install -g license-checker
cargo install cargo-bundle-licenses
- name: Check
run: |
pnpm run thirdparty
- uses: peter-evans/create-pull-request@v7
with:
commit-message: "[Auto update] Thirdparty libraries list"
branch: auto-update/thirdparty
base: master
delete-branch: true
title: "[Auto update] Thirdparty libraries list"