Skip to content

Commit

Permalink
dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
appkins committed Jun 3, 2024
1 parent 51eecf3 commit e55efeb
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
version: 2

updates:
- package-ecosystem: github-actions
registries: "*"
directory: /
groups:
github-actions:
patterns:
- "*"
update-types:
- major
- minor
- patch
commit-message:
prefix: chore
schedule:
interval: weekly
labels:
- kind/chore
- dependabot
# reviewers:
# - appkins-org/admin

- package-ecosystem: terraform
registries: "*"
directory: /
groups:
terraform:
patterns:
- "*"
update-types:
- major
- minor
- patch
commit-message:
prefix: chore
schedule:
interval: weekly
labels:
- kind/chore
- dependabot
# reviewers:
# - appkins-org/admin
29 changes: 29 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: check
on:
push:
branches:
- main
pull_request:
jobs:
check:
name: Check - Security
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/trivy-action@0.20.0 # v0.21.0
with:
scan-type: 'fs'
scan-ref: '.'
trivy-config: trivy.yaml
ignore-unfixed: true
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy-results.sarif'

0 comments on commit e55efeb

Please sign in to comment.