mirror of https://github.com/buster-so/buster.git
Merge pull request #14 from buster-so/dal/actions-workflows
Enhance GitHub Actions workflows and Dependabot configuration
This commit is contained in:
commit
855bc6bc99
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue