Skip to content

Merge pull request #32 from merendamattia/copilot/add-caching-for-yah… #123

Merge pull request #32 from merendamattia/copilot/add-caching-for-yah…

Merge pull request #32 from merendamattia/copilot/add-caching-for-yah… #123

name: Conventional Commits Check
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main, master]
jobs:
conventional-commits:
name: Check Conventional Commits
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check conventional commits
uses: webiny/[email protected]
with:
allowed-commit-types: "feat,fix,docs,style,refactor,test,chore,ci,build,perf,ops,merge,revert"
pre-commit:
name: Pre-commit checks
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files