Skip to content

Commit

Permalink
build: Enable Dependabot to ensure that the dependencies will be upda…
Browse files Browse the repository at this point in the history
…ted on a monthly basis
  • Loading branch information
sbp-bvanb committed Oct 21, 2024
1 parent e96a4b6 commit dd8b7c4
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "monthly"
27 changes: 27 additions & 0 deletions .github/workflows/golang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Golang
"on":
# required by gomod-go-version-updater to trigger this action once pr has
# been reviewed
pull_request_review:
types: [submitted]
push:
permissions:
contents: read
packages: read
jobs:
mcvs-golang-action:
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- uses: schubergphilis/[email protected]
with:
code_coverage_expected: 59.8
golang-unit-tests-exclusions: |-
\(cmd\/mcvs-scanner\|cmd\/mcvs-scanner-cli\|deprecated\|docs\/swagger\|mocks\)
golangci-lint-version: v1.61.0
token: ${{ secrets.GITHUB_TOKEN }}
trivy-action-db: |-
ghcr.io/schubergphilis/mcvs-scanner-trivy-db:2
trivy-action-java-db: |-
ghcr.io/schubergphilis/mcvs-scanner-trivy-java-db:1
14 changes: 14 additions & 0 deletions .github/workflows/gomod-go-version-updater.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: gomod-go-version-updater-action
"on":
schedule:
- cron: "42 5 * * 1-5"
permissions:
contents: write
pull-requests: write
repository-projects: write
jobs:
gomod-go-version-updater-action:
runs-on: ubuntu-22.04
steps:
- uses: schubergphilis/[email protected]
19 changes: 19 additions & 0 deletions .github/workflows/mcvs-pr-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: MCVS-PR-validation-action
"on":
pull_request:
types:
- edited
- opened
- reopened
- synchronize
workflow_call:
permissions:
contents: read
pull-requests: read
jobs:
MCVS-PR-validation-action:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- uses: schubergphilis/[email protected]
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.vscode
reports

0 comments on commit dd8b7c4

Please sign in to comment.