-
-
Notifications
You must be signed in to change notification settings - Fork 44
49 lines (39 loc) · 1.43 KB
/
Copy pathdataAudit.yml
File metadata and controls
49 lines (39 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Data Audit
# ──────────────────────────────────────────────────────────────
# 매일 1회 데이터 파이프라인 감사 — 실패 시 Issue 자동 알림.
#
# 감사 대상: Data Sync / Data Prebuild / EDGAR Data Sync / KRX Data Sync /
# KRX Index Data Sync / Update KindList.
#
# 수동 (workflow_dispatch):
# - 즉시 감사 실행 (실패 Issue 갱신 포함)
#
# full 모드 수집은 dataSync.yml workflow_dispatch (mode=full) 로 이전.
# ──────────────────────────────────────────────────────────────
on:
schedule:
- cron: '0 20 * * *' # UTC 20:00 = KST 05:00, 일일 감사
workflow_dispatch:
permissions:
contents: read
issues: write
actions: read
concurrency:
group: data-audit
cancel-in-progress: true
jobs:
audit:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Set up Python
run: uv python install 3.12
- name: Install dependencies
run: uv sync
- name: Pipeline health check
run: uv run python .github/scripts/ops/monitorPipeline.py
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}