Skip to content

Commit e2f8e3a

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

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/codeql.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
# The branches below must be a subset of the branches above
1313
branches: [ master ]
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
# Queue
22

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

68
Queue is a Golang library for spawning and managing a Goroutine pool, Allowing you to create multiple worker according to limit CPU number of machine.
79

0 commit comments

Comments
 (0)