Merge pull request #14 from buster-so/dal/actions-workflows

Enhance GitHub Actions workflows and Dependabot configuration
This commit is contained in:
dal 2025-01-06 11:11:39 -08:00 committed by GitHub
commit 855bc6bc99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 29 additions and 6 deletions

View File

@ -25,3 +25,26 @@ updates:
commit-message:
prefix: "chore"
include: "scope"
- package-ecosystem: "npm"
directory: "/api"
schedule:
interval: "weekly"
source-branch: "main"
target-branch: "staging"
open-pull-requests-limit: 10
labels:
- "dependencies"
- package-ecosystem: "npm"
directory: "/web"
schedule:
interval: "weekly"
source-branch: "main"
target-branch: "staging"
open-pull-requests-limit: 10
labels:
- "dependencies"
commit-message:
prefix: "chore"
include: "scope"

View File

@ -2,13 +2,13 @@
push:
branches:
- main
pull_request:
branches:
- main
paths:
- api/**
name: Deploy to main
jobs:
database-deploy:
runs-on: blacksmith-16vcpu-ubuntu-2204
if: contains(github.event.head_commit.modified_files, 'api/migrations/') || contains(github.event.head_commit.added_files, 'api/migrations/')
environment: main
steps:
- name: Checkout code

View File

@ -2,13 +2,13 @@
push:
branches:
- staging
pull_request:
branches:
- staging
paths:
- api/**
name: Deploy to staging
jobs:
database-deploy:
runs-on: blacksmith-16vcpu-ubuntu-2204
if: contains(github.event.head_commit.modified_files, 'api/migrations/') || contains(github.event.head_commit.added_files, 'api/migrations/')
environment: staging
steps:
- name: Checkout code