DEV-2172 | proof of concept of CSRF expiry #10367
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pre-commit | |
on: | |
pull_request: | |
push: | |
branches: [main, develop] | |
jobs: | |
pre-commit: | |
name: Run pre-commit checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10.15' | |
cache: 'poetry' | |
- run: poetry install | |
- uses: pre-commit/[email protected] |