primajin/WebApp Console Log Action
An action to capture and post console logs from a web application
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 10, 2026
- License
- Public domain
Pinned Snippet
uses: primajin/webapp-console-log-action@9e9cb43370cdfa233819e1894c297ef1327cf62c # v1.8.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| artifact-name | The name of the artifact to download | no | — |
| comment-tag | The tag to use for the comment - so it can be replaced, you may pass empty string to always post a new comment | no | console-log |
| headline | The headline for the console logs comment | no | Console Logs |
| max-log-level | The maximum log level to allow (verbose, info, warning, error). Set to error to disable failing. | no | info |
| min-log-level | The minimum log level to capture (verbose, info, warning, error) | no | verbose |
| pre-script-path | Path to a JavaScript pre-script that can log in or prepare the app before console capture | no | — |
| pre-script-timeout | Timeout in milliseconds for the pre-script | no | 30000 |
| port | The port to run the http-server on | no | — |
| regexp-error | Regular expression pattern to filter error logs | no | — |
| regexp-info | Regular expression pattern to filter info logs | no | — |
| regexp-verbose | Regular expression pattern to filter verbose logs | no | — |
| regexp-warning | Regular expression pattern to filter warning logs | no | — |
| show-emoji | Whether to show emojis in the output | no | true |
| validate-status | Whether to validate the HTTP response status code before log collection | no | true |
| positive-statuses | Comma-separated list of HTTP status codes considered successful (e.g. "200,201"). Defaults to 200 when not set. | no | — |
| negative-statuses | Comma-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-time | The wait time before capturing logs | no | 2500 |
| webapp-url | The URL of the web application | yes | — |
Outputs
| name | description |
|---|---|
| console | The captured console log |