Skip to content

Commit

Permalink
ci: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yongheng2016 committed Dec 6, 2024
1 parent d3c1f33 commit 3904a2b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 15 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pr-conventional-commit-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: PR Conventional Commit Validation

on:
pull_request:
types: [opened, synchronize, reopened, edited]

jobs:
validate-pr-title:
runs-on: ubuntu-latest
steps:
- name: PR Conventional Commit Validation
uses: ytanikin/[email protected]
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert","style"]'
add_label: 'true'
26 changes: 11 additions & 15 deletions .github/workflows/update-monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,18 @@ name: Update Monitoring Frontend
on:
workflow_dispatch:

pull_request_target:
branches: ['main', '*']
push:
branches:
- 'main'
- 'feat/api_watch'
- 'chore/apps'
paths:
- 'apps/monitoring/package.json'
# push:
# branches:
# - 'main'
# - 'feat/api_watch'
# - 'chore/apps'
# paths:
# - 'apps/monitoring/**'
# - 'packages/ui/**'
# - 'apps/common/**'
# - .github/workflows/update-monitoring.yml
# - .github/workflows/common-config.yml
# - nginx.conf
- 'apps/monitoring/**'
- 'packages/ui/**'
- 'apps/common/**'
- .github/workflows/update-monitoring.yml
- .github/workflows/common-config.yml
- nginx.conf

jobs:
call-nodes-ci:
Expand Down

0 comments on commit 3904a2b

Please sign in to comment.