exoscale / python-exoscale

Python bindings for the Exoscale APIs
https://exoscale.github.io/python-exoscale/
ISC License
14 stars 7 forks source link

openapi action: enable pipefail #50

Closed brutasse closed 7 months ago

brutasse commented 7 months ago

This should prevent github actions from committing an empty spec to the repo in case of an HTTP failure. Example previous occurrence:

https://github.com/exoscale/python-exoscale/actions/runs/6809578290/job/18516145538

From the actions docs:

When shell: bash is specified, -o pipefail is also applied to enforce early exit from pipelines that generate a non-zero exit status.