Skip to content

Bump github.com/aws/aws-sdk-go-v2 from 1.36.3 to 1.36.5 #7147

Bump github.com/aws/aws-sdk-go-v2 from 1.36.3 to 1.36.5

Bump github.com/aws/aws-sdk-go-v2 from 1.36.3 to 1.36.5 #7147

Workflow file for this run

name: "CodeQL"
on:
push:
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
types: [opened, labeled, unlabeled, synchronize]
schedule:
# runs on 19:17 every Tuesday
- cron: "27 19 * * 2"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["go", "javascript-typescript"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
lint-golangci:
name: "Lint (golangci)"
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
permissions:
# Required: allow read access to the content for analysis.
contents: read
# allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
# allow write access to checks to allow the action to annotate code in the PR.
checks: write
# allow write access to security events to allow the action to upload SARIF files.
security-events: write
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
id: golangci
with:
version: v1.64
only-new-issues: true # Shows only issues introduced in the PR
# Not all line numbers in diff may match the linter's line outputs
# See: https://github.com/golangci/golangci-lint/issues/4376#issuecomment-1938874827
# Always exit 0 so we upload the sarif file to CodeQL
args: >
--out-format sarif:golangci-lint.sarif
--issues-exit-code=0
- name: Upload filtered SARIF results
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: golangci-lint.sarif
pr-semver-labels:
name: PR Semver Labels
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@v5
with:
mode: exactly
count: 1
labels: |
major
minor
patch
no-release
add_comment: true
message: |
> [!WARNING]
> This PR is blocked from merging because a required semver label is missing.
> ```
> {{ provided }}
> ```
> You'll need to add one before this PR can be merged.
pr-size-labeler:
name: PR Size Labeler
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: PR Size Labeler
uses: codelytv/[email protected]
with:
xs_label: "size/xs"
xs_max_size: "10"
s_label: "size/s"
s_max_size: "100"
m_label: "size/m"
m_max_size: "500"
l_label: "size/l"
l_max_size: "1000"
xl_label: "size/xl"
fail_if_xl: "false"
files_to_ignore: >
package-lock.json
yarn.lock
go.sum
ignore_line_deletions: "false"
ignore_file_deletions: "false"