Materials-Consortia / optimade-validator-action

GitHub Actions action to validate OPTIMADE implementations using the validator from Materials-Consortia/optimade-python-tools
MIT License
6 stars 1 forks source link

Add support for additional HTTP headers? #65

Open ml-evs opened 3 years ago

ml-evs commented 3 years ago

As added in https://github.com/Materials-Consortia/optimade-python-tools/pull/806.

Not sure if it makes sense to support this within the action (e.g. API keys via GitHub secrets), but happy to help out if we think it is worthwhile.

CasperWA commented 3 years ago

It seems like a good idea. To begin with it could be very raw input value, e.g., a complete JSON object as a value: headers: '{"X-Github-Header": "my header value"}'?

Later, one could add more user-friendly inputs that creates a specific header or set of headers. We'd need use cases for this though.