Skip to content

Commit

Permalink
ci: add workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb committed Nov 28, 2023
1 parent 52bcea1 commit 17aa6c5
Show file tree
Hide file tree
Showing 12 changed files with 139 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @opiproject/opi-maintainers
2 changes: 2 additions & 0 deletions .github/commitlintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extends:
- "@commitlint/config-conventional"
16 changes: 16 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":enablePreCommit"
],
"schedule": [
"every weekend"
],
"packageRules": [
{
"matchUpdateTypes": ["digest"],
"automerge": true
}
]
}
13 changes: 13 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: CodeQL

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

jobs:
call:
uses: opiproject/actions/.github/workflows/codeql.yml@main
secrets: inherit
16 changes: 16 additions & 0 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Commitlint

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

permissions:
contents: read

jobs:
call:
uses: opiproject/actions/.github/workflows/commitlint.yml@main
secrets: inherit
15 changes: 15 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Docker

on:
workflow_dispatch:
workflow_call:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
call:
uses: opiproject/actions/.github/workflows/docker-publish.yml@main
secrets: inherit
13 changes: 13 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Go

on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
call:
uses: opiproject/actions/.github/workflows/go.yml@main
secrets: inherit
13 changes: 13 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Linters

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

jobs:
call:
uses: opiproject/actions/.github/workflows/linters.yml@main
secrets: inherit
15 changes: 15 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Release Please

on:
workflow_dispatch:
push:
branches: [ "main" ]

permissions:
contents: write
pull-requests: write

jobs:
call:
uses: opiproject/actions/.github/workflows/release-please.yml@main
secrets: inherit
11 changes: 11 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Release

on:
workflow_dispatch:
release:
types: [published]

jobs:
release-docker:
uses: ./.github/workflows/docker-publish.yml
secrets: inherit
13 changes: 13 additions & 0 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: OpenSSF

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

jobs:
call:
uses: opiproject/actions/.github/workflows/scorecard.yml@main
secrets: inherit
11 changes: 11 additions & 0 deletions .github/workflows/update-copyright-years-in-license-file.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Update copyright year(s) in license file

on:
workflow_dispatch:
schedule:
- cron: '0 3 1 1 *'

jobs:
copyright:
uses: opiproject/actions/.github/workflows/update-copyright-years-in-license-file.yml@main
secrets: inherit

0 comments on commit 17aa6c5

Please sign in to comment.