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
1 change: 1 addition & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:

codeql:
name: CodeQL
if: github.event.repository.private == false
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
2 changes: 2 additions & 0 deletions docs/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ Jobs:
- `CodeQL`: static analysis for Go.
- `Dependency review`: reviews dependency changes on pull requests.

`CodeQL` runs while the repository is public. During private stabilization phases, the job is skipped unless code scanning is enabled for the private repository in GitHub settings.

`Dependency review` is advisory while the repository dependency graph is unavailable. It remains visible in the Security workflow, but the Stage 1 protected merge gate is `All CI checks`.

## Contributor Acknowledgement Workflow
Expand Down
9 changes: 4 additions & 5 deletions docs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (

func TestDocumentationCoversInstallationUsageAndExamples(t *testing.T) {
files := map[string]string{
"README.md": mustReadFile(t, "README.md"),
"docs/installation.md": mustReadFile(t, "docs/installation.md"),
"docs/usage.md": mustReadFile(t, "docs/usage.md"),
"examples/README.md": mustReadFile(t, "examples/README.md"),
"README.md": mustReadFile(t, "README.md"),
"docs/installation.md": mustReadFile(t, "docs/installation.md"),
"docs/usage.md": mustReadFile(t, "docs/usage.md"),
"examples/README.md": mustReadFile(t, "examples/README.md"),
"examples/library/main.go": mustReadFile(t, "examples/library/main.go"),
}

Expand Down Expand Up @@ -44,4 +44,3 @@ func assertContains(t *testing.T, text, expected string) {
t.Fatalf("documentation missing %q", expected)
}
}

1 change: 0 additions & 1 deletion examples/library/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ func main() {
fmt.Printf("%s: %s\n", finding.ID, finding.ReproduceCommand)
}
}

Loading