:zap: Human-friendly interactions with third-party web services through GitHub Actions
Minor rebrand :zap:
Includes the jq
CLI, a lightweight and flexible command-line JSON processor, to enable acting on HTTPie responses in downstream actions.
HTTPie response preserved, in $HOME/$GITHUB_ACTION.response
(full response), $HOME/$GITHUB_ACTION.response.headers
(response headers), and $HOME/$GITHUB_ACTION.response.body
(response body), for consumption by downstream Actions.
Now with smarter presets for GitHub Actions, and baked-in HTTPie authentication plugins.
GitHub Actions compatible version of HTTPie.
Use as part of a GitHub Action like so:
workflow "Call external API" {
on = "push"
resolves = ["Call httpbin"]
}
action "Call httpbin" {
uses = "swinton/httpie-action@master"
args = ["--ignore-stdin", "https://httpbin.org/anything", "foo=bar"]
}
Usage docs for HTTPie are here.