etag can be passed in the if-none-match in the header on getobject api #12241
Workflow file for this run
This file contains 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: "CodeQL" | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: | |
- cron: '42 10 * * 3' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "18.17.0" | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21.4" | |
- name: Generate code | |
env: | |
NODE_OPTIONS: "--max-old-space-size=4096" | |
run: | | |
mkdir ./webui/dist | |
touch ./webui/dist/index.html | |
make gen-api | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: 'go, javascript' | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 | |