Skip to content

feat: add cron-job to update Trivy #507

feat: add cron-job to update Trivy

feat: add cron-job to update Trivy #507

Workflow file for this run

name: Validate Conventional Commit title
on:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: install commitlint
run: npm install -g @commitlint/cli @commitlint/config-conventional
- name: config commitlint
run: |
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
- name: validate PR title
run: |
echo ${{ github.event.pull_request.title }} | commitlint