Skip to content

Add regex anchors to fix regex sanitizing bypass #21

Add regex anchors to fix regex sanitizing bypass

Add regex anchors to fix regex sanitizing bypass #21

Workflow file for this run

name: golangci-lint
on: [pull_request]
jobs:
# Check if there any dirty change for go mod tidy
go-mod:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.23.3
- name: Checkout code
uses: actions/checkout@v4
- name: Check go mod
run: |
go mod tidy
git diff --exit-code go.mod
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: lint
uses: golangci/[email protected]
with:
version: 'v1.64.5'