fix: handle expired otps when used by user #1535
Workflow file for this run
This file contains hidden or 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: Check code/commit conventions | |
on: push | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install asdf requirements | |
run: | | |
sudo apt-get install -y libssl-dev libreadline-dev uuid-dev | |
- name: Install asdf | |
uses: asdf-vm/actions/setup@v3 | |
- name: Cache tools | |
uses: actions/cache@v4 | |
with: | |
path: | | |
/home/runner/.asdf | |
key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }} | |
- name: Install required tools | |
run: | | |
cat .tool-versions | cut -f 1 -d ' ' | xargs -n 1 asdf plugin add || true | |
asdf plugin update --all | |
asdf install | |
asdf reshim | |
- name: Rerun Pre-Commit Hooks on CI | |
run: | | |
pip install -r requirements.txt | |
asdf reshim | |
pre-commit run --color=always --show-diff-on-failure --all-files | |
commitlint: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: wagoid/commitlint-github-action@v5 |