-
Notifications
You must be signed in to change notification settings - Fork 11
42 lines (35 loc) · 970 Bytes
/
tpip.yml
File metadata and controls
42 lines (35 loc) · 970 Bytes
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
40
41
42
name: TPIP
on:
pull_request:
paths:
- '.github/workflows/tpip.yml'
- docs/third-party-licenses.json
- docs/tpip-header.md
- scripts/tpip-reporter.ts
branches:
- main
workflow_dispatch:
jobs:
report:
name: Generate report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Install dependencies
run: yarn --frozen-lockfile --prefer-offline
- name: Generate third-party licenses report
run: yarn run tpip:report
- name: Commit changes
if: false
run: |
git config --local user.email "git@github.com"
git config --local user.name "GitHub Action"
git add TPIP.md
git commit -m "Update third-party licenses report [skip ci]"
git push