🔥 feat: Validate HTTP headers in RequestID middleware (#3919) #417
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: "Sync docs" | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "docs/**" | |
| release: | |
| types: [published] | |
| jobs: | |
| sync-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| fetch-depth: 2 | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 | |
| with: | |
| node-version: "22.x" | |
| - name: Sync docs | |
| run: ./.github/scripts/sync_docs.sh | |
| env: | |
| EVENT: ${{ github.event_name }} | |
| TAG_NAME: ${{ github.ref_name }} | |
| TOKEN: ${{ secrets.DOC_SYNC_TOKEN }} |