primajin/WebApp Console Log Action

An action to capture and post console logs from a web application

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 10, 2026
License
Public domain

Pinned Snippet

workflow.ymlSHA-pinned
uses: primajin/webapp-console-log-action@9e9cb43370cdfa233819e1894c297ef1327cf62c # v1.8.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
artifact-nameThe name of the artifact to downloadno
comment-tagThe tag to use for the comment - so it can be replaced, you may pass empty string to always post a new commentnoconsole-log
headlineThe headline for the console logs commentnoConsole Logs
max-log-levelThe maximum log level to allow (verbose, info, warning, error). Set to error to disable failing.noinfo
min-log-levelThe minimum log level to capture (verbose, info, warning, error)noverbose
pre-script-pathPath to a JavaScript pre-script that can log in or prepare the app before console captureno
pre-script-timeoutTimeout in milliseconds for the pre-scriptno30000
portThe port to run the http-server onno
regexp-errorRegular expression pattern to filter error logsno
regexp-infoRegular expression pattern to filter info logsno
regexp-verboseRegular expression pattern to filter verbose logsno
regexp-warningRegular expression pattern to filter warning logsno
show-emojiWhether to show emojis in the outputnotrue
validate-statusWhether to validate the HTTP response status code before log collectionnotrue
positive-statusesComma-separated list of HTTP status codes considered successful (e.g. "200,201"). Defaults to 200 when not set.no
negative-statusesComma-separated list of HTTP status codes that explicitly fail the action (e.g. "404,500"). Any code not in positive-statuses also fails by default.no
wait-timeThe wait time before capturing logsno2500
webapp-urlThe URL of the web applicationyes
namedescription
consoleThe captured console log