Skip to content

Commit

Permalink
botupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc391 committed Jan 8, 2025
1 parent 1047e67 commit 18dc1c2
Show file tree
Hide file tree
Showing 2 changed files with 113 additions and 26 deletions.
71 changes: 45 additions & 26 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,64 @@

version: 2
updates:

- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "daily"
target-branch: "develop"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
time: "06:00"
timezone: "UTC"
target-branch: "develop"
commit-message:
prefix: "[GH-Actions]"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "github-actions"
automerge: true
automerge-strategy: "merge"

- package-ecosystem: "docker"
directory: "/build"
schedule:
interval: "daily"
target-branch: "develop"

- package-ecosystem: "gomod"
directory: "/build"
schedule:
interval: "daily"
target-branch: "develop"

- package-ecosystem: "maven"
directory: "/build"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
time: "07:00"
timezone: "UTC"
target-branch: "develop"
commit-message:
prefix: "[Python]"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "python"
automerge: true
automerge-strategy: "merge"

- package-ecosystem: "npm"
directory: "/build"
directory: "/"
schedule:
interval: "daily"
time: "08:00"
timezone: "UTC"
target-branch: "develop"
commit-message:
prefix: "[NPM]"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "npm"
automerge: true
automerge-strategy: "squash"

- package-ecosystem: "pip"
directory: "/build/python"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
time: "09:00"
timezone: "UTC"
target-branch: "develop"
commit-message:
prefix: "[Docker]"
open-pull-requests-limit: 5
labels:
- "dependencies"
- "docker"
automerge: false
68 changes: 68 additions & 0 deletions .github/workflows/dependency-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Dependency CI

on:
pull_request:
branches:
- develop
types:
- opened
- synchronize

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: pytest tests/

lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: Install lint dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Run linting
run: flake8 .

build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "16"

- name: Install dependencies
run: npm install

- name: Build the project
run: npm run build

0 comments on commit 18dc1c2

Please sign in to comment.