Skip to content

Commit 5c314ac

Browse files
committed
docs(badge): add CodeQL + Report Card
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 4eb876a commit 5c314ac

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/codeql.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ name: "CodeQL"
77

88
on:
99
push:
10-
branches: [ master ]
10+
branches: [ main ]
1111
pull_request:
1212
# The branches below must be a subset of the branches above
13-
branches: [ master ]
13+
branches: [ main ]
1414
schedule:
15-
- cron: '0 17 * * 5'
15+
- cron: '30 1 * * 0'
1616

1717
jobs:
1818
analyze:
@@ -23,6 +23,10 @@ jobs:
2323
# required for all workflows
2424
security-events: write
2525

26+
# only required for workflows in private repositories
27+
actions: read
28+
contents: read
29+
2630
strategy:
2731
fail-fast: false
2832
matrix:

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# nats
22

3+
[![CodeQL](https://github.com/golang-queue/nats/actions/workflows/codeql.yaml/badge.svg)](https://github.com/golang-queue/nats/actions/workflows/codeql.yaml)
34
[![Run Testing](https://github.com/golang-queue/nats/actions/workflows/go.yml/badge.svg)](https://github.com/golang-queue/nats/actions/workflows/go.yml)
45
[![codecov](https://codecov.io/gh/golang-queue/nats/branch/main/graph/badge.svg?token=FFZN8E2ZZB)](https://codecov.io/gh/golang-queue/nats)
6+
[![Go Report Card](https://goreportcard.com/badge/github.com/golang-queue/nats)](https://goreportcard.com/report/github.com/golang-queue/nats)
57

68
NATS as backend with [Queue package](https://github.com/golang-queue/queue) (Connective Technology for Adaptive Edge & Distributed Systems)
79

0 commit comments

Comments
 (0)