fix(auth): address concurrency crashes, state desync, and test coverage in async mTLS sessions V2 #5288
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: librarian tidy | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| tidy-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1 | |
| id: changes | |
| with: | |
| filters: | | |
| librarian: | |
| - 'librarian.yaml' | |
| - uses: googleapis/librarian@bb2ee61752bd0f5387195b54c509e4d01a52b41d | |
| - name: Run librarian tidy | |
| if: steps.changes.outputs.librarian == 'true' | |
| run: librarian tidy | |
| - name: Check for diff | |
| if: steps.changes.outputs.librarian == 'true' | |
| run: | | |
| if ! git diff --exit-code; then | |
| V=$(go run github.com/googleapis/librarian/cmd/librarian@latest config get version) | |
| echo "librarian.yaml is not tidy. Please run:" | |
| echo "" | |
| echo " go run github.com/googleapis/librarian/cmd/librarian@${V} tidy" | |
| echo "" | |
| echo "to tidy librarian.yaml and commit the changes." | |
| exit 1 | |
| fi | |