feat: oauth provider #2240
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 hook check" | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- edited | |
- synchronize | |
jobs: | |
pr-title-3_8: | |
name: Pre commit hook check (3.8) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
- name: Create virtual environment and install dependencies | |
run: | | |
python3 -m venv venv | |
source venv/bin/activate | |
make dev-install && rm -rf src | |
- name: Make a dummy change to README.md | |
run: | | |
echo "# Dummy change for PR check" >> README.md | |
- run: git init && git add --all && git -c user.name='test' -c user.email='[email protected]' commit -m 'init for pr action' | |
- run: | | |
source venv/bin/activate | |
./hooks/pre-commit.sh | |
pr-title-3_9: | |
name: Pre commit hook check (3.9) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Create virtual environment and install dependencies | |
run: | | |
python3 -m venv venv | |
source venv/bin/activate | |
make dev-install && rm -rf src | |
- name: Make a dummy change to README.md | |
run: | | |
echo "# Dummy change for PR check" >> README.md | |
- run: git init && git add --all && git -c user.name='test' -c user.email='[email protected]' commit -m 'init for pr action' | |
- run: | | |
source venv/bin/activate | |
./hooks/pre-commit.sh | |
pr-title-3_10: | |
name: Pre commit hook check (3.10) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Create virtual environment and install dependencies | |
run: | | |
python3 -m venv venv | |
source venv/bin/activate | |
make dev-install && rm -rf src | |
- name: Make a dummy change to README.md | |
run: | | |
echo "# Dummy change for PR check" >> README.md | |
- run: git init && git add --all && git -c user.name='test' -c user.email='[email protected]' commit -m 'init for pr action' | |
- run: | | |
source venv/bin/activate | |
./hooks/pre-commit.sh | |
pr-title-3_11: | |
name: Pre commit hook check (3.11) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Create virtual environment and install dependencies | |
run: | | |
python3 -m venv venv | |
source venv/bin/activate | |
make dev-install && rm -rf src | |
- name: Make a dummy change to README.md | |
run: | | |
echo "# Dummy change for PR check" >> README.md | |
- run: git init && git add --all && git -c user.name='test' -c user.email='[email protected]' commit -m 'init for pr action' | |
- run: | | |
source venv/bin/activate | |
./hooks/pre-commit.sh | |
pr-title-3_12: | |
name: Pre commit hook check (3.12) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Create virtual environment and install dependencies | |
run: | | |
python3 -m venv venv | |
source venv/bin/activate | |
make dev-install && rm -rf src | |
- name: Make a dummy change to README.md | |
run: | | |
echo "# Dummy change for PR check" >> README.md | |
- run: git init && git add --all && git -c user.name='test' -c user.email='[email protected]' commit -m 'init for pr action' | |
- run: | | |
source venv/bin/activate | |
./hooks/pre-commit.sh | |
pr-title-3_13: | |
name: Pre commit hook check (3.13) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- name: Create virtual environment and install dependencies | |
run: | | |
python3 -m venv venv | |
source venv/bin/activate | |
make dev-install && rm -rf src | |
- name: Make a dummy change to README.md | |
run: | | |
echo "# Dummy change for PR check" >> README.md | |
- run: git init && git add --all && git -c user.name='test' -c user.email='[email protected]' commit -m 'init for pr action' | |
- run: | | |
source venv/bin/activate | |
./hooks/pre-commit.sh |