Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

build(deps): Bump the gh-actions group with 6 updates #57

Merged
merged 5 commits into from
Jan 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 61 additions & 30 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,71 +1,102 @@
'ext: tests':
- src/tests/*
- changed-files:
- any-glob-to-any-file: src/tests/*

'ext: scripts':
- scripts/*
- changed-files:
- any-glob-to-any-file: scripts/*

'ext: apm':
- apm/*
- changed-files:
- any-glob-to-any-file: apm/*

'module: database':
- src/app/db.py
- changed-files:
- any-glob-to-any-file: src/app/db.py

'module: services':
- src/app/services/*
- changed-files:
- any-glob-to-any-file: src/app/services/*

'module: core':
- src/app/main.py
- src/app/core/*
- changed-files:
- any-glob-to-any-file:
- src/app/main.py
- src/app/core/*

'module: models':
- src/app/models.py
- changed-files:
- any-glob-to-any-file: src/app/models.py

'module: schemas':
- src/app/schemas/*
- changed-files:
- any-glob-to-any-file: src/app/schemas/*

'module: crud':
- src/app/crud/*
- changed-files:
- any-glob-to-any-file: src/app/crud/*

'endpoint: login':
- src/app/api/*/endpoints/login.py
- changed-files:
- any-glob-to-any-file: src/app/api/*/endpoints/login.py

'endpoint: users':
- src/app/api/*/endpoints/users.py
- changed-files:
- any-glob-to-any-file: src/app/api/*/endpoints/users.py

'endpoint: repos':
- src/app/api/*/endpoints/repos.py
- changed-files:
- any-glob-to-any-file: src/app/api/*/endpoints/repos.py

'endpoint: guidelines':
- src/app/api/*/endpoints/guidelines.py
- changed-files:
- any-glob-to-any-file: src/app/api/*/endpoints/guidelines.py

'endpoint: compute':
- src/app/api/*/endpoints/compute.py
- changed-files:
- any-glob-to-any-file: src/app/api/*/endpoints/compute.py

'endpoint: code':
- changed-files:
- any-glob-to-any-file: src/app/api/*/endpoints/code.py

'topic: build':
- pyproject.toml
- poetry.lock
- changed-files:
- any-glob-to-any-file:
- pyproject.toml
- poetry.lock

'topic: migration':
- src/alembic.ini
- src/alembic/*
- changed-files:
- any-glob-to-any-file:
- src/alembic.ini
- src/alembic/*

'topic: ci':
- .github/*
- changed-files:
- any-glob-to-any-file: .github/*

'topic: docker':
- docker-compose.yml
- docker-compose.test.yml
- Dockerfile
- traefik/*
- changed-files:
- any-glob-to-any-file:
- docker-compose.yml
- docker-compose.test.yml
- Dockerfile
- traefik/*

'topic: documentation':
- README.md
- CONTRIBUTING.md
- CODE_OF_CONDUCT.md
- changed-files:
- any-glob-to-any-file:
- README.md
- CONTRIBUTING.md
- CODE_OF_CONDUCT.md

'topic: security':
- src/app/api/dependencies.py
- src/app/security.py
- changed-files:
- any-glob-to-any-file:
- src/app/api/dependencies.py
- src/app/security.py

'type: code quality':
- .pre-commit-config.yaml
- changed-files:
- any-glob-to-any-file: .pre-commit-config.yaml
6 changes: 3 additions & 3 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- uses: abatilo/actions-poetry@v2
- uses: abatilo/actions-poetry@v3
with:
poetry-version: "1.7.1"
- name: Resolve dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
8 changes: 4 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ jobs:
dockerhub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
architecture: x64
- uses: abatilo/actions-poetry@v2
- uses: abatilo/actions-poetry@v3
with:
poetry-version: "1.7.1"
- name: Resolve dependencies
Expand All @@ -31,7 +31,7 @@ jobs:
needs: dockerhub
runs-on: ubuntu-latest
steps:
- uses: appleboy/ssh-action@v1.0.0
- uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.SSH_DEV_HOST }}
username: ${{ secrets.SSH_DEV_USERNAME }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- uses: abatilo/actions-poetry@v2
- uses: abatilo/actions-poetry@v3
with:
poetry-version: "1.7.1"
- name: Resolve dependencies
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
os: [ubuntu-latest]
python: [3.9]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: x64
- uses: abatilo/actions-poetry@v2
- uses: abatilo/actions-poetry@v3
with:
poetry-version: "1.7.1"
- name: Resolve dependencies
run: poetry export -f requirements.txt --without-hashes --only quality --output requirements.txt
- name: Cache python modules
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-python-${{ matrix.python }}-${{ hashFiles('requirements.txt') }}
Expand All @@ -46,18 +46,18 @@ jobs:
os: [ubuntu-latest]
python: [3.9]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: x64
- uses: abatilo/actions-poetry@v2
- uses: abatilo/actions-poetry@v3
with:
poetry-version: "1.7.1"
- name: Resolve dependencies
run: poetry export -f requirements.txt --without-hashes --with quality --output requirements.txt
- name: Cache python modules
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-python-${{ matrix.python }}-${{ hashFiles('requirements.txt') }}
Expand All @@ -77,19 +77,19 @@ jobs:
os: [ubuntu-latest]
python: [3.9]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: x64
- uses: abatilo/actions-poetry@v2
- uses: abatilo/actions-poetry@v3
with:
poetry-version: "1.7.1"
- name: Resolve dependencies
run: poetry export -f requirements.txt --without-hashes --only quality --output requirements.txt
- name: Cache python modules
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-python-${{ matrix.python }}-${{ hashFiles('requirements.txt') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- uses: abatilo/actions-poetry@v2
- uses: abatilo/actions-poetry@v3
with:
poetry-version: "1.7.1"
- name: Resolve dependencies
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Check the headers
Expand Down