Skip to content

Commit 008b756

Browse files
authored
[#634] Watcher 자동화를 구성한다 (#635)
* chore: watcher yml 파일 추가 * chore: pr 트리거 제거
1 parent ab8703b commit 008b756

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Merge Risk Watch
2+
3+
on:
4+
schedule:
5+
- cron: "0 15 * * 0-4"
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
actions: read
11+
checks: read
12+
pull-requests: read
13+
14+
jobs:
15+
watch:
16+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false
17+
uses: opficdev/Watcher/.github/workflows/merge-risk-watch.yml@0.1.0
18+
with:
19+
repository: ${{ github.repository }}
20+
base_branch: develop
21+
default_branch: main
22+
critical_file_patterns: |
23+
.github/workflows/**
24+
.github/actions/**
25+
.mise.toml
26+
.package.resolved
27+
Gemfile.lock
28+
Tuist.swift
29+
Workspace.swift
30+
Tuist/ProjectDescriptionHelpers/**
31+
Application/**/Project.swift
32+
Application/Shared/**
33+
Widget/**/Project.swift
34+
fastlane/**
35+
**/*.xcstrings
36+
secrets:
37+
watcher_github_token: ${{ secrets.WATCHER_GITHUB_TOKEN }}
38+
gemini_api_key: ${{ secrets.GEMINI_API_KEY }}
39+
discord_webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}

0 commit comments

Comments
 (0)