Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,6 @@ jobs:
upload: false
output: sarif-results

- name: Filter SARIF for third-party code
if: matrix.language == 'go'
uses: advanced-security/filter-sarif@2da736ff05ef065cb2894ac6892e47b5eac2c3c0 # v1.1.0.1.1
with:
patterns: |
-third-party/**
input: sarif-results/${{ matrix.language }}.sarif
output: sarif-results/${{ matrix.language }}.sarif

- name: Upload filtered SARIF
uses: github/codeql-action/upload-sarif@v4
with:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/detect-spam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,19 @@ on:
types: [opened]

permissions:
contents: none
issues: write
models: read
contents: read # check out the repo to run the spam-detection scripts.
issues: write # read issue contents (gh issue view), comment, label, and close issues detected as spam.
models: read # run inference via `gh models run` for spam classification.

jobs:
issue-spam:
runs-on: ubuntu-latest
environment: cli-automation
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Run spam detection
env:
GH_TOKEN: ${{ secrets.AUTOMATION_TOKEN }}
GH_TOKEN: ${{ github.token }}
ISSUE_URL: ${{ github.event.issue.html_url }}
run: |
./.github/workflows/scripts/spam-detection/process-issue.sh "$ISSUE_URL"
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/triage-discussion-label.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ linters:
# - staticcheck
# - errcheck
exclusions:
paths:
- third-party
rules:
- path: _test\.go$
linters:
Expand Down Expand Up @@ -62,9 +60,6 @@ linters:
formatters:
enable:
- gofmt
exclusions:
paths:
- third-party

issues:
max-issues-per-linter: 0
Expand Down
Loading