perf(api): optimize static asset caching, enable ETag support, and expand response compression mime types. #10471
Workflow file for this run
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: "Auto Pull Request Labeler V2" | |
| on: | |
| pull_request_target: | |
| types: [opened, synchronize] | |
| branches: | |
| - main | |
| - V3 | |
| permissions: | |
| contents: read | |
| jobs: | |
| labeler: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup GitHub App Bot | |
| id: setup-bot | |
| uses: ./.github/actions/setup-bot | |
| with: | |
| app-id: ${{ secrets.GH_APP_ID }} | |
| private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} | |
| - uses: srvaroa/labeler@bf262763a8a8e191f5847873aecc0f29df84f957 # v1.14.0 | |
| with: | |
| config_path: .github/labeler-config-srvaroa.yml | |
| use_local_config: false | |
| fail_on_error: true | |
| env: | |
| GITHUB_TOKEN: "${{ steps.setup-bot.outputs.token }}" |