Skip to content

fix(deps): updating commitizen pre-commit hook #37

fix(deps): updating commitizen pre-commit hook

fix(deps): updating commitizen pre-commit hook #37

Workflow file for this run

name: Safety Checks
on:
# trigger this workflow manually
workflow_dispatch:
# or on a schedule
# runs in utc at 2:30am on Mondays
# this is 7:30pm on Sundays in Seattle
schedule:
- cron: "15 2 * * 1"
# also run on pull requests
# probably best to make this a required check on pull requests
pull_request:
jobs:
safety:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.12.x"
cache: "pip"
- name: Cache safety database
uses: actions/cache@v4
with:
path: ~/.safety
key: safety
- name: Install safety
run: |
pip install safety
- name: Run safety checks
run: |
safety --disable-optional-telemetry check --output=screen --file=poetry.lock --cache
env:
COLUMNS: 120
FORCE_COLOR: 1
NON_INTERACTIVE: 1