Joshua M. Boniface 7d67443aca
ci: Add flock to openapi spec upload (#11381)
* Add flock to openapi spec upload

Prevents a race condition if two PRs are merged in very quick
succession.

* Remove lock at the end

* Revert "Remove lock at the end"

This reverts commit a7baafd10e3c1bc47304f05c93ac4864e622e5e0.

* Correct incorrect comments

* Exit with an error if flock fails
2024-04-18 09:03:06 -04:00
..