Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/__renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
permission-workflows: write

- name: Run Renovate
uses: renovatebot/github-action@1c0cf989c02653fba0efe7ca5772338860ca71dc # v46.3.12
uses: renovatebot/github-action@266fef21329c44765ad42f9dea1f01f5d2d91084 # v46.3.13
with:
token: ${{ steps.generate-token.outputs.token }}
env:
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.PHONY: help
SHELL := /bin/bash

.PHONY: help npm-update

help: ## Display help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
Expand All @@ -19,6 +21,9 @@ setup: ## Install npm dependencies for all package.json files under actions/
@echo "Installing npm dependencies for all packages..."
$(call run_npm_for_packages,install)

npm-update: ## Interactively update npm dependencies for all packages
$(call run_npm_for_packages,exec --yes --package=npm-check-updates -- ncu --interactive --cwd "$$pkg_dir")

npm-audit-fix: ## Execute npm audit fix
@echo "Running npm audit fix for all packages..."
$(call run_npm_for_packages,audit fix)
Expand Down
2 changes: 1 addition & 1 deletion actions/create-and-merge-pull-request/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ runs:
- id: github-actions-bot-user
uses: $/actions/get-github-actions-bot-user

- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
- uses: peter-evans/create-pull-request@15733dbdfeedb4f7fdb73d13c6f5ac83b710fab8 # v8.1.2
id: create-pull-request
with:
token: ${{ inputs.github-token }}
Expand Down
19 changes: 17 additions & 2 deletions docs/development/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ Use Node.js 24 or later for the packages below. Keep implementation and test
instructions in this guide; action descriptions and generated readmes describe
how to use the actions.

## Updating npm dependencies

From an interactive terminal at the repository root, run:

```bash
make npm-update
```

The target uses [npm-check-updates](https://github.com/raineorshine/npm-check-updates)
to select dependency upgrades for each package under `actions/`, excluding
`node_modules/` and `dist/`. It downloads the tool through npm when needed, without
adding it to the action dependencies. Accept the install prompt after selecting
upgrades to update installed dependencies and `package-lock.json`. Review the
changes, run `make test`, and rebuild affected distributions as described below.

## CI report parser

The parser lives in `actions/quality/parse-ci-reports`. Its `src/models/` define
Expand Down Expand Up @@ -35,8 +50,8 @@ the lockfile. Repository package commands also skip distribution metadata.
To add a report format:

1. Extend `BaseParser` with `canParse()`, `parse()`, `getCategory()` and
`getAutoPatterns()`. Override `getPriority()` when format detection needs to run
before a more general parser.
`getAutoPatterns()`. Override `getPriority()` when format detection needs to
run before a more general parser.
2. Register the parser in `ParserFactory`.
3. Add parsing and source/distribution parity tests, then rebuild the distribution.
4. Update the action's `action.yml` description or leading documentation comments
Expand Down
Loading