diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8bab153..f1a06f7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,7 @@ version: 2 updates: # Define update settings for GitHub Actions dependencies - # Configure for main branch + # Configure for development branch - package-ecosystem: "github-actions" # Checks for updates to GitHub Actions in workflows directory: ".github/workflows" # Root directory for GitHub Actions workflows schedule: @@ -9,151 +9,7 @@ updates: reviewers: - "meleksabit" commit-message: - prefix: "chore" - target-branch: "main" - labels: ["dependencies", "weekly-update"] - - # Define update settings for Docker dependencies - - package-ecosystem: "docker" # Checks for updates to Docker images - directory: "/my_app" # Path to the first Dockerfile's directory - schedule: - interval: "weekly" # Set frequency for Docker image updates - reviewers: - - "meleksabit" - commit-message: - prefix: "chore" - target-branch: "main" - labels: ["dependencies", "weekly-update"] - - - package-ecosystem: "docker" # Checks for updates to Docker images - directory: "/prometheus-grafana" # Path to the second Dockerfile's directory - schedule: - interval: "weekly" # Set frequency for Docker image updates - reviewers: - - "meleksabit" - commit-message: - prefix: "chore" - target-branch: "main" - labels: ["dependencies", "weekly-update"] - - # Define update settings for Python dependencies - - package-ecosystem: "pip" # Checks for updates to Python packages in requirements.txt - directory: "/" # Location of the requirements.txt file - schedule: - interval: "weekly" # Choose the frequency for Python dependency updates - reviewers: - - "meleksabit" - commit-message: - prefix: "chore" - target-branch: "main" - labels: ["dependencies", "weekly-update"] - open-pull-requests-limit: 5 # Limits the number of open Dependabot PRs - - # Configure for stage branch - - package-ecosystem: "github-actions" # Checks for updates to GitHub Actions in workflows - directory: ".github/workflows" # Root directory for GitHub Actions workflows - schedule: - interval: "weekly" # Choose the update frequency: daily, weekly, or monthly - reviewers: - - "meleksabit" - commit-message: - prefix: "chore" - target-branch: "stage" - labels: ["dependencies", "stage-update"] - - # Define update settings for Docker dependencies - - package-ecosystem: "docker" # Checks for updates to Docker images - directory: "/my_app" # Path to the first Dockerfile's directory - schedule: - interval: "weekly" # Set frequency for Docker image updates - reviewers: - - "meleksabit" - commit-message: - prefix: "chore" - target-branch: "stage" - labels: ["dependencies", "weekly-update"] - - - package-ecosystem: "docker" # Checks for updates to Docker images - directory: "/prometheus-grafana" # Path to the second Dockerfile's directory - schedule: - interval: "weekly" # Set frequency for Docker image updates - reviewers: - - "meleksabit" - commit-message: - prefix: "chore" - target-branch: "stage" - labels: ["dependencies", "weekly-update"] - - # Define update settings for Python dependencies - - package-ecosystem: "pip" # Checks for updates to Python packages in requirements.txt - directory: "/" # Location of the requirements.txt file - schedule: - interval: "weekly" # Choose the frequency for Python dependency updates - reviewers: - - "meleksabit" - commit-message: - prefix: "chore" - target-branch: "stage" - labels: ["dependencies", "stage-update"] - open-pull-requests-limit: 5 # Limits the number of open Dependabot PRs - - # Configure for test branch - - package-ecosystem: "github-actions" # Checks for updates to GitHub Actions in workflows - directory: ".github/workflows" # Root directory for GitHub Actions workflows - schedule: - interval: "weekly" # Choose the update frequency: daily, weekly, or monthly - reviewers: - - "meleksabit" - commit-message: - prefix: "chore" - target-branch: "test" - labels: ["dependencies", "test-update"] - - # Define update settings for Docker dependencies - - package-ecosystem: "docker" # Checks for updates to Docker images - directory: "/my_app" # Path to the first Dockerfile's directory - schedule: - interval: "weekly" # Set frequency for Docker image updates - reviewers: - - "meleksabit" - commit-message: - prefix: "chore" - target-branch: "test" - labels: ["dependencies", "weekly-update"] - - - package-ecosystem: "docker" # Checks for updates to Docker images - directory: "/prometheus-grafana" # Path to the second Dockerfile's directory - schedule: - interval: "weekly" # Set frequency for Docker image updates - reviewers: - - "meleksabit" - commit-message: - prefix: "chore" - target-branch: "test" - labels: ["dependencies", "weekly-update"] - - # Define update settings for Python dependencies - - package-ecosystem: "pip" # Checks for updates to Python packages in requirements.txt - directory: "/" # Location of the requirements.txt file - schedule: - interval: "weekly" # Choose the frequency for Python dependency updates - reviewers: - - "meleksabit" - commit-message: - prefix: "chore" - target-branch: "test" - labels: ["dependencies", "test-update"] - open-pull-requests-limit: 5 # Limits the number of open Dependabot PRs - - # Configure for development branch - - package-ecosystem: "github-actions" # Checks for updates to GitHub Actions in workflows - directory: ".github/workflows" # Root directory for GitHub Actions workflows - schedule: - interval: "weekly" # Choose the update frequency: daily, weekly, or monthly - reviewers: - - "meleksabit" - commit-message: - prefix: "chore" + prefix: "deps" target-branch: "development" labels: ["dependencies", "development-update"] @@ -165,7 +21,7 @@ updates: reviewers: - "meleksabit" commit-message: - prefix: "chore" + prefix: "deps" target-branch: "development" labels: ["dependencies", "weekly-update"] @@ -176,7 +32,7 @@ updates: reviewers: - "meleksabit" commit-message: - prefix: "chore" + prefix: "deps" target-branch: "development" labels: ["dependencies", "weekly-update"] @@ -188,7 +44,6 @@ updates: reviewers: - "meleksabit" commit-message: - prefix: "chore" + prefix: "deps" target-branch: "development" labels: ["dependencies", "development-update"] - open-pull-requests-limit: 5 # Limits the number of open Dependabot PRs diff --git a/.github/workflows/kubescape-scan.yml b/.github/workflows/kubescape-scan.yml index 110b27b..c5bc9ed 100644 --- a/.github/workflows/kubescape-scan.yml +++ b/.github/workflows/kubescape-scan.yml @@ -51,7 +51,7 @@ jobs: # Upload Kubescape JSON report as an artifact - name: Upload Kubescape JSON Report as Artifact - uses: actions/upload-artifact@v4.4.3 + uses: actions/upload-artifact@v4.5.0 with: name: kubescape-json-report path: kubescape-report.json diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 7393439..1714ba3 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -36,6 +36,6 @@ jobs: pytest --cov=my_app --cov=my_app/start_app --cov-report=xml - name: SonarQube Scan - uses: sonarsource/sonarqube-scan-action@v4.1.0 # Ex: v4.1.0, See the latest version at + uses: sonarsource/sonarqube-scan-action@v4.2.1 # Ex: v4.1.0, See the latest version at env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/requirements.txt b/requirements.txt index 37e15dc..0563e5d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,12 +1,12 @@ -transformers==4.47.0 +transformers==4.47.1 prometheus-client==0.21.1 requests==2.32.3 torch==2.5.1 flask==3.1.0 gunicorn==23.0.0 yagmail==0.15.293 -slack-bolt==1.21.3 -slack-sdk==3.33.5 +slack-bolt==1.22.0 +slack-sdk==3.34.0 pytest==8.3.4 pytest-cov==6.0.0 Flask-WTF==1.2.2