Skip to content

fix: migrate eslint docs per version changes #1505

fix: migrate eslint docs per version changes

fix: migrate eslint docs per version changes #1505

name: Check and Update Third Party Notices
on: pull_request
jobs:
license-check-setup:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.BOT_REPO_SCOPED_TOKEN }}
- uses: actions/[email protected]
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'
- name: Install pnpm
uses: pnpm/[email protected]
- name: Global install generate-license-file
run: pnpm i -g generate-license-file
- name: Generate pages licenses
run : |
pnpm i --ignore-scripts
pnpm rebuild
pnpm run generate-notices
working-directory: ./packages/pages
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Generate root level licenses
run : |
pnpm i --ignore-scripts
pnpm rebuild
pnpm run generate-notices
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Update THIRD-PARTY-NOTICES
uses: EndBug/add-and-commit@v9
with:
message: "Automated update to THIRD-PARTY-NOTICES from github action's 3rd party notices check"
push: true
default_author: github_actions