Skip to content
Open
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
19 changes: 19 additions & 0 deletions .github/workflows/build-and-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: build-and-coverage

on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:

jobs:
build:
uses: opensourceways/agent-development-specification/.github/workflows/go-reusable.yml@main
env:
GOPROXY: https://goproxy.cn,direct
with:
runs-on: ubuntu-latest
go-version: '1.20'
secrets:
gh-token: ${{ secrets.GH_TOKEN }}
12 changes: 12 additions & 0 deletions .github/workflows/check-branch-naming.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: check-branch-naming

on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:

jobs:
check-branch-naming:
uses: opensourceways/agent-development-specification/.github/workflows/check-branch-naming-reusable.yml@main
with:
runs-on: ubuntu-latest
12 changes: 12 additions & 0 deletions .github/workflows/check-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: check-label

on:
pull_request:
types: [opened, synchronize, reopened, edited, labeled, unlabeled]
workflow_dispatch:

jobs:
check-label:
uses: opensourceways/agent-development-specification/.github/workflows/check-label-reusable.yml@main
with:
runs-on: ubuntu-latest
12 changes: 12 additions & 0 deletions .github/workflows/document-gate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: document-gate

on:
pull_request:
types: [opened, synchronize, reopened, edited, labeled, unlabeled]
workflow_dispatch:

jobs:
document-gate:
uses: opensourceways/agent-development-specification/.github/workflows/document-gate-reusable.yml@main
with:
runs-on: ubuntu-latest
13 changes: 13 additions & 0 deletions .github/workflows/trivy-license.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: trivy-license

on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:

jobs:
trivy-license:
uses: opensourceways/agent-development-specification/.github/workflows/trivy-license-reusable.yml@main
with:
runs-on: ubuntu-latest
exit-code: '0'
15 changes: 15 additions & 0 deletions .github/workflows/trivy-vulnerability.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: trivy-vulnerability

on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:

jobs:
trivy-vulnerability:
uses: opensourceways/agent-development-specification/.github/workflows/trivy-vulnerability-reusable.yml@main
with:
runs-on: ubuntu-latest
scanners: vuln,secret
severity: UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL
exit-code: '1'
Loading