dovyski/Payload Info
Extracts info from the webhook payload object in Github Actions using jq notation.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| filter_push | Filter to be applied to the webhook payload object in case of a push. | yes | . |
| filter_pull_request | Filter to be applied to the webhook payload object in case of a pull request. | no | .pull_request. |
| filter_prefix | String to be prefixed to all filters. | no | "" |
| output | Type of output. It can be "pretty", "json", "compact", or "string". | no | pretty |
| slurp | If output will be surrounded between [ and ]. | no | false |
| sort | Sort object keys in alphabetical order. | no | false |
| dump | If the webhook payload for the event that triggered the workflow should be dumped as a JSON file or not. | no | true |
| dump_path | Path to the JSON payload file to be dumped. | no | gh-payload.json |
| If the webhook payload for the event that triggered the workflow should be output. | no | true |
Outputs
| name | description |
|---|---|
| value | Value of the key provided as input. |
| branch | Name of the branch related to this workflow. |
| pull_request | If this workflow is running on a pull request or not. |