chore(deps): update dependency typescript-eslint to v8.60.0 #44
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Regenerate NOTICE.txt | |
| # Runs on PRs opened by bots (Renovate, Dependabot) that update dependencies. | |
| # Re-generates NOTICE.txt so it reflects the updated dependency tree. | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| paths: | |
| - package.json | |
| - package-lock.json | |
| jobs: | |
| regenerate: | |
| runs-on: ubuntu-latest | |
| if: | | |
| startsWith(github.event.pull_request.user.login, 'elastic-renovate') || | |
| startsWith(github.event.pull_request.user.login, 'renovate') || | |
| github.event.pull_request.user.login == 'dependabot[bot]' | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| token: ${{ github.token }} | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Regenerate NOTICE.txt | |
| run: node scripts/generate-notice.mjs | |
| - name: Commit if changed | |
| run: | | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git config user.name "github-actions[bot]" | |
| if git diff --quiet NOTICE.txt; then | |
| echo "NOTICE.txt is already up to date." | |
| else | |
| git add NOTICE.txt | |
| git commit -m "chore: regenerate NOTICE.txt" | |
| git push | |
| fi |