From 50ddd69fc9cb8b8bc2c2884b308dd84c27ca7bd6 Mon Sep 17 00:00:00 2001 From: p0lygun Date: Sun, 9 Jul 2023 16:02:28 +0530 Subject: [PATCH] feat(CI): build docker image for main and production branch --- .github/workflows/main.yml | 2 +- .pre-commit-config.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2c54a4c..f6b4cdb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ on: push: branches: - main - - dev + - production paths: - 'bfportal/**' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 30b68e4..978e88d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.5.0 + rev: v4.4.0 hooks: - id: check-toml - id: check-yaml @@ -9,7 +9,7 @@ repos: args: [--markdown-linebreak-ext=md] - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.5.1 + rev: v1.10.0 hooks: - id: python-check-blanket-noqa @@ -19,18 +19,18 @@ repos: - id: isort - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 23.3.0 hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: 4.0.1 + rev: 6.0.0 hooks: - id: flake8 additional_dependencies: - flake8-docstrings~=1.6.0 - repo: https://github.com/p0lygun/commit-msg-validator - rev: v1.1.0 + rev: v1.2.0 hooks: - id: check-commit-msg