From 001b6b58f075a7f482563e67baab4ce50fc100a6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 21 Aug 2025 17:03:45 +0300 Subject: [PATCH 1/3] added dev branch to workflow --- .github/workflows/ci-cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 5b3d71a..42b8b3f 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - dev jobs: build: From 03171d5163753390adbdbc1ca5f9b4648ea2c856 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 23 Aug 2025 18:09:52 +0300 Subject: [PATCH 2/3] added pylint --- .github/workflows/ci-cd.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 42b8b3f..467844c 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -14,6 +14,15 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Setup Python and run pylint + run: | + if [ ! -d "venv" ]; then + python3 -m venv venv + fi + . ./venv/bin/activate + pip install -r requirements.txt + pylint --fail-under=5 app/ + - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 with: @@ -49,7 +58,7 @@ jobs: DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' ${{ secrets.DOCKER_USERNAME }}/devops360-app:latest) echo "digest=$DIGEST" >> $GITHUB_OUTPUT - - name: Install cosign + - name: Install cosign×– uses: sigstore/cosign-installer@v3.4.0 - name: Write cosign.key to disk From cf88a3ca6f72dab35fb1bb5f8284873863e4ce4d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 23 Aug 2025 18:37:27 +0300 Subject: [PATCH 3/3] added pylint at requirements.txt --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index d103451..1c8b465 100644 --- a/requirements.txt +++ b/requirements.txt @@ -31,3 +31,4 @@ typing_extensions==4.14.0 urllib3==2.5.0 uvicorn==0.34.3 yarg==0.1.10 +pylint==3.3.8 \ No newline at end of file