Skip to content

Commit

Permalink
Merge pull request #211 from meleksabit/stage
Browse files Browse the repository at this point in the history
chore: edit dependabot workflow + dependabot bumps
  • Loading branch information
meleksabit authored Dec 23, 2024
2 parents 263ea0b + 8856675 commit 0f363ec
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 155 deletions.
155 changes: 5 additions & 150 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,159 +1,15 @@
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:
interval: "weekly" # Choose the update frequency: daily, weekly, or monthly
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"]

Expand All @@ -165,7 +21,7 @@ updates:
reviewers:
- "meleksabit"
commit-message:
prefix: "chore"
prefix: "deps"
target-branch: "development"
labels: ["dependencies", "weekly-update"]

Expand All @@ -176,7 +32,7 @@ updates:
reviewers:
- "meleksabit"
commit-message:
prefix: "chore"
prefix: "deps"
target-branch: "development"
labels: ["dependencies", "weekly-update"]

Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/kubescape-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0f363ec

Please sign in to comment.