Repository navigation
v0.2.0
uses: github.com/mozership/probe-jmap@52000030f1bd839677830d1ab07a024183f581b7 # v0.2.0Highlights
- Its
action.ymldeclaresguard: [read-only, allow-host], so Probe v1.21.0 or later runs it under--read-onlyand--allow-hostwithout--allow-action. - Its
action.ymldeclaresparams, soprobe checkreports a key ofwiththe action does not take. - A key of
withthe action does not take now fails the step.
Declaring the guard
The action already refused, before anything was sent, a method that may write under --read-only, and a host --allow-host does not allow, for the session, the API URL and each redirect. Probe could not tell, so it still refused the step unless --allow-action named the action. action.yml now declares both kinds, and Probe v1.21.0 or later runs the action under them.
Parameters
params: [url, calls, using, account_id, basic_auth, headers, timeout] in action.yml lets probe check report a misspelled key with its line. The action checks the same list itself, so a key that is not one of them fails the step before anything is sent; it used to be ignored.
Requirements
The action needs Probe v1.21.0 or later, which reads what action.yml declares. Its e2e runs on Probe v1.21.0 against Stalwart. See JMAP.