Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
389 commits
Select commit Hold shift + click to select a range
e779c84
Update find_js_repos_and_run.py
pxxguin Jun 29, 2025
3d9d51a
Update pr_auto.py
pxxguin Jun 29, 2025
b76dac6
Update pr_auto.py
pxxguin Jun 29, 2025
31661fd
Update pr_auto.py
pxxguin Jun 29, 2025
e6bea95
Update pr_auto.py
pxxguin Jun 29, 2025
efbefe3
Update pr_auto.py
pxxguin Jun 29, 2025
b18331f
Update find_js_repos_and_run.py
pxxguin Jun 29, 2025
878927e
Update autofic_javascript.yml
pxxguin Jun 29, 2025
ba46c66
Update autofic_javascript.yml
pxxguin Jun 29, 2025
55ecf69
Update find_js_repos_and_run.py
pxxguin Jun 29, 2025
71f8aa7
Update pr_auto.py
pxxguin Jun 29, 2025
ccd9e7f
Update autofic_javascript.yml
pxxguin Jun 29, 2025
33fccee
Update pr_auto.py
pxxguin Jun 29, 2025
f87df71
Update pr_auto.py
pxxguin Jun 29, 2025
cf26d92
Update find_js_repos_and_run.py
pxxguin Jun 29, 2025
ee2d22e
Update find_js_repos_and_run.py
pxxguin Jun 29, 2025
eb34bfc
Update find_js_repos_and_run.py
pxxguin Jun 29, 2025
69feea6
Update find_js_repos_and_run.py
pxxguin Jun 29, 2025
66ae1e5
Update find_js_repos_and_run.py
pxxguin Jun 29, 2025
68f6fe1
Update autofic_javascript.yml
pxxguin Jun 29, 2025
7f5d220
Update find_js_repos_and_run.py
pxxguin Jun 29, 2025
75abf2e
Update pr_auto.py
pxxguin Jun 29, 2025
d850366
Update pr_auto.py
pxxguin Jun 29, 2025
ce886a6
Update pr_auto.py
pxxguin Jun 29, 2025
7c69a5d
Update find_js_repos_and_run.py
pxxguin Jun 29, 2025
e020d91
Add: CI 자동화 구현
habin0223 Jun 30, 2025
1d64222
Add: __init__파일 추가
habin0223 Jun 30, 2025
ba1cf0b
Add: 자동으로 yml파일 생성
habin0223 Jun 30, 2025
19b877c
Add: Secrets Variable 암호 알고리즘
habin0223 Jun 30, 2025
7b05372
Add: PR 과정 모듈화
habin0223 Jun 30, 2025
1e6023b
Add: 전체 PR과정 main
habin0223 Jun 30, 2025
99542c0
Add: __init__파일 추가
habin0223 Jun 30, 2025
76ec92a
Update: Comment is add in pr_procedure.py
pxxguin Jun 30, 2025
50a2fa6
Update: Boolean added
pxxguin Jun 30, 2025
92436ad
Update: file was moved
pxxguin Jun 30, 2025
0b7289e
Update: License Added
habin0223 Jun 30, 2025
ccc86cd
Update: Comment is add in ci_automation.py
habin0223 Jun 30, 2025
d765f38
Update: Comment is add in create_yml.py
habin0223 Jun 30, 2025
1bf3b6b
Update: Comment is add in env_encrypt.py
habin0223 Jun 30, 2025
abe3379
Update: Some codes are changed
habin0223 Jun 30, 2025
0c62297
Update: Comment is add in pr_main.py
habin0223 Jun 30, 2025
95b2231
Update autofic_javascript.yml
pxxguin Jun 30, 2025
eac5720
Update: Last Comment is fixed
habin0223 Jun 30, 2025
50cdd36
Update cli.py
pxxguin Jun 30, 2025
028187b
Merge pull request #36 from pxxguin/dev
inyeongjang Jun 30, 2025
f804af4
Add: dashboard pages 기능 구현
seoonju Jul 1, 2025
f3b5ef0
Add: dashboard pages 기능 구현
seoonju Jul 1, 2025
aa58601
Update: run_cli() 연결
pxxguin Jul 1, 2025
0a2d72c
Merge pull request #39 from pxxguin/dev
inyeongjang Jul 2, 2025
ee3fd0b
Merge branch 'main' of https://github.com/AutoFiC/autofic-core into dev
Jul 2, 2025
21d7fc1
Merge branch 'dev' of https://github.com/AutoFiC/autofic-core into dev
Jul 2, 2025
0ef9481
Merge remote-tracking branch 'upstream/dev' into dev
seoonju Jul 3, 2025
7ad7124
Fix: dashboard page 기능 수정
seoonju Jul 3, 2025
5d90eda
Fix: dashboard page 기능 수정
seoonju Jul 3, 2025
e291729
Update: PR Body modified
pxxguin Jul 3, 2025
d556980
Update cli.py
pxxguin Jul 3, 2025
1aa01e1
Update cli.py
pxxguin Jul 3, 2025
8d00291
Update autofic_javascript.yml
pxxguin Jul 3, 2025
a98c71a
Merge pull request #42 from pxxguin/dev
inyeongjang Jul 3, 2025
32c828c
Fix: dashboard pages
seoonju Jul 3, 2025
4d8be4d
Fix: 서버 기능 수정
seoonju Jul 3, 2025
7f7c352
Fix: .env.example 수정
seoonju Jul 3, 2025
310b39c
Fix: unified diff 적용 및 diff 파일 저장 로직 수정
Jul 3, 2025
5edfccf
Merge pull request #44 from AutoFiC/feature/unified-diff-fix
inyeongjang Jul 4, 2025
bf526e2
Add: option, explain AutoFiC
Jul 6, 2025
3f27e43
Fix: server, .yml 파일 수정
seoonju Jul 7, 2025
0b44e63
Update dashboard.yml
seoonju Jul 7, 2025
f40170d
Fix: github actions 수정
seoonju Jul 7, 2025
5c1d942
Merge branch 'dev' of https://github.com/seoonju/autofic-core into dev
seoonju Jul 7, 2025
57bf470
Merge branch 'dev' into dev
inyeongjang Jul 7, 2025
90aa6d7
Merge pull request #46 from seoonju/dev
inyeongjang Jul 7, 2025
3cbede9
Delete C:\testfile directory
inyeongjang Jul 7, 2025
15a94ac
Merge: CLI 옵션 분리
inyeongjang Jul 9, 2025
c70506b
Fix: import 클래스명 수정
inyeongjang Jul 10, 2025
fe86f97
Merge: improve/uiux
inyeongjang Jul 10, 2025
d566f26
Fix: Dashboard pages
seoonju Jul 11, 2025
4522bf3
Add: Semgrep 결과를 파일 단위로 전처리 및 병합 수행
minxxcozy Jul 11, 2025
e90f489
Refactor: LLM 프롬프트 생성 및 응답 파싱 기능 수정
minxxcozy Jul 11, 2025
94ad455
Add: diff 생성 및 git apply 기반 패치 기능 구현
minxxcozy Jul 11, 2025
d0fefe0
Refactor: 전체 파이프라인 CLI 통합 구성 (PR 자동화 이전)
minxxcozy Jul 11, 2025
9ac59ed
Merge pull request #48 from seoonju/dev
inyeongjang Jul 11, 2025
9c7891a
Merge pull request #49 from minxxcozy/feature/llm-processing-v2
inyeongjang Jul 11, 2025
22ae19a
Merge pull request #51 from minxxcozy/feature/patching
inyeongjang Jul 11, 2025
353e918
Merge: cli.py
inyeongjang Jul 11, 2025
f01dbfe
Fetch: dev
Jul 11, 2025
661896f
Fix: prompt_generator.py 렌더링 오류 수정
minxxcozy Jul 11, 2025
5395cd3
Merge pull request #53 from minxxcozy/bugfix/prompt-rendering
inyeongjang Jul 11, 2025
7dcf42f
Refactor: Semgrep 실행 및 전처리 로직 리팩토링
inyeongjang Jul 11, 2025
1971e11
Add: llm-retry
Jul 11, 2025
135b7bc
Add: CodeQL 실행 및 전처리 로직 추가
inyeongjang Jul 11, 2025
b64e4f9
Add: SnykCode 실행 및 전처리 로직 추가
inyeongjang Jul 11, 2025
aa57a63
Merge pull request #54 from AutoFiC/feature/llm-retry
inyeongjang Jul 11, 2025
77b52c3
Add: SAST 도구 추가 관련 로직 수정
inyeongjang Jul 11, 2025
3e406dc
Delete C:\testfile_AutoFiC directory
inyeongjang Jul 11, 2025
fe216e8
Delete C:\testfile directory
inyeongjang Jul 11, 2025
c9f4499
Merge: feature/llm-retry
inyeongjang Jul 11, 2025
3ec9348
Delete artifacts/downloaded_repo directory
inyeongjang Jul 12, 2025
ffcde33
Fix: commit 전 git add . 실행
inyeongjang Jul 12, 2025
b03499f
Merge pull request #56 from AutoFiC/feature/sast
inyeongjang Jul 12, 2025
2618526
Modified: .yml workflows are modified
Jul 12, 2025
2c345f0
Merge pull request #58 from pxxguin/dev
inyeongjang Jul 12, 2025
9d204b5
Refacotr: vulnerability_class 전처리 로직 수정
inyeongjang Jul 12, 2025
487ccbe
Refactor: PR 메시지 수정
inyeongjang Jul 12, 2025
bbd075e
Refactor: license 정보 추가
inyeongjang Jul 12, 2025
e1a8dd9
Refactor: PR Description 추가 수정
inyeongjang Jul 12, 2025
531466b
Merge pull request #59 from AutoFiC/fix/pr_message
inyeongjang Jul 13, 2025
cb5ff7b
Merge pull request #60 from AutoFiC/fix/pr_message-v2
inyeongjang Jul 13, 2025
d90f3b9
Add: git apply 실패 시 fallback diff 적용 로직 추가
minxxcozy Jul 13, 2025
5201904
Merge pull request #61 from minxxcozy/feature/fallback-patch-apply
inyeongjang Jul 13, 2025
c0af0b1
PatchApplier 실행 로직 추가
minxxcozy Jul 14, 2025
b30d904
패치 적용 실패 시 parsed 파일로 덮어쓰기 기능 추가
minxxcozy Jul 14, 2025
6fd7a16
Fix: llm-retry error
Jul 14, 2025
c57645d
Merge pull request #62 from minxxcozy/bugfix/patch-failure-handling
inyeongjang Jul 14, 2025
990905a
temp
Jul 15, 2025
346e7e3
Udate Dashboard
seoonju Jul 15, 2025
111d30f
Temp: for feedback
Jul 15, 2025
5357139
Merge pull request #63 from seoonju/dev
inyeongjang Jul 15, 2025
8745a7f
Update: PR 생성 시 workflow 파일 제외
inyeongjang Jul 15, 2025
a39f1ba
Merge branch 'dev' into refactor/pr_body
inyeongjang Jul 15, 2025
a54c671
Merge pull request #65 from AutoFiC/refactor/pr_body
inyeongjang Jul 15, 2025
60b0e53
Delete C:\testfile_AutoFiC directory
inyeongjang Jul 15, 2025
4ad4e84
Update: 최신 dev 브랜치 반영
inyeongjang Jul 15, 2025
0613ade
Fix: server.py 문법 오류 개선
inyeongjang Jul 16, 2025
070a0df
Update .env.example
seoonju Jul 16, 2025
260f603
Updata : Dashboard
jungyun404 Jul 16, 2025
c7a1d74
Merge branch 'dev' into dev
jungyun404 Jul 16, 2025
e9bba81
Fix: server.py 오류 개선
inyeongjang Jul 16, 2025
73905f0
Fix: server.py 버그 수정
seoonju Jul 16, 2025
721d58a
Update: LLM 재실행 로직 수정
inyeongjang Jul 16, 2025
9391600
Merge branch 'dev' into dev
jungyun404 Jul 17, 2025
6ccd928
Fix: server.py 에러 수정
inyeongjang Jul 17, 2025
9f83a57
Fix: 대시보드 "dates" 수정
seoonju Jul 17, 2025
2371a1b
Merge: dev
inyeongjang Jul 17, 2025
230c02e
Remove: diff_merger.py 파일 삭제
inyeongjang Jul 17, 2025
93ca655
Merge pull request #70 from seoonju/dev
inyeongjang Jul 17, 2025
be654f3
Remove: diff_merger.py 삭제
inyeongjang Jul 17, 2025
91c7abf
Chore: 배포 환경 설정 수정
inyeongjang Jul 17, 2025
35e543c
Merge branch 'dev' of https://github.com/AutoFiC/autofic-core into dev
inyeongjang Jul 17, 2025
bf1f355
Update: "updates" 추가 및 수정
seoonju Jul 17, 2025
6137df1
Merge pull request #71 from seoonju/dev
inyeongjang Jul 17, 2025
89cbc30
Update: LLM 재실행 대상을 parsed로 변경
inyeongjang Jul 17, 2025
793c7fe
Refactor: English translation of prompt and error messages
inyeongjang Jul 17, 2025
7bda842
Refactor: translate response parsing messages to English
inyeongjang Jul 17, 2025
2699fc2
Refactor: translate all console outputs in llm_runner.py to English
inyeongjang Jul 17, 2025
0a673be
Merge branch 'inyeong/llm-retry' into refactor/prompt-en
inyeongjang Jul 17, 2025
f87c3b7
Refactor: translate all messages and prompt in RetryPromptGenerator t…
inyeongjang Jul 17, 2025
b44cf82
Refactor: translate all comments and messages to English in GitHubRep…
inyeongjang Jul 17, 2025
d51cdf8
Refactor: convert all output messages in PatchApplier to English
inyeongjang Jul 17, 2025
e8aed3a
Refactor: translate CLI interface and error messages to English
inyeongjang Jul 17, 2025
e2c5f66
Fix: update regex pattern to match new English markdown prompt format
inyeongjang Jul 17, 2025
2c468ae
Refactor: Replace Korean file not found error message with English
inyeongjang Jul 17, 2025
e09d06a
Refactor: restructure PR body for better readability
inyeongjang Jul 18, 2025
c32d7e1
Merge pull request #72 from AutoFiC/refactor/prompt-en
inyeongjang Jul 18, 2025
27f093b
Update autofic_javascript.yml
pxxguin Jul 19, 2025
90db9fd
Update ci_automation.py
pxxguin Jul 19, 2025
21970db
Update pyproject.toml
pxxguin Jul 19, 2025
84e3531
Update ci_automation.py
pxxguin Jul 19, 2025
479d750
Update ci_automation.py
pxxguin Jul 19, 2025
f55466c
Update ci_automation.py
pxxguin Jul 19, 2025
5d26e22
Update ci_automation.py
pxxguin Jul 19, 2025
c595abc
Update autofic_javascript.yml
pxxguin Jul 19, 2025
3737032
Update pyproject.toml
pxxguin Jul 19, 2025
82f7821
Update pyproject.toml
pxxguin Jul 19, 2025
a26e4f3
Update pyproject.toml
pxxguin Jul 19, 2025
9930733
Merge pull request #73 from pxxguin/dev
inyeongjang Jul 19, 2025
14b04bc
Add: PR merged
seoonju Jul 19, 2025
abb364c
[Autofic] gracefully skip LLM stage when SAST returns no results
Jul 19, 2025
d74d0c0
refactoring: download/
Jul 19, 2025
af71cc4
Refactor: 전체 Diff 및 패치 적용 완료 메시지 출력 추가 및 사용자 안내 개선
minxxcozy Jul 19, 2025
b35bee5
Add: 에러 및 경고 메시지 상수와 사용자 메시지 출력용 클래스 추가
minxxcozy Jul 19, 2025
746168a
Refactor: Diff 생성 성공/실패 메시지 출력 개선 및 예외 처리 명확화
minxxcozy Jul 19, 2025
fbef6eb
Refactor: 패치 적용 성공/실패 메시지 형식 통일 및 메시지 상수 사용 적용
minxxcozy Jul 19, 2025
27f0c05
Merge branch 'feat/dashboard' into dev
inyeongjang Jul 20, 2025
4559de4
Merge branch 'feature/skip-empty-sast' of https://github.com/AutoFiC/…
inyeongjang Jul 20, 2025
a27fc79
Merge branch 'Refactoring/download' of https://github.com/AutoFiC/aut…
inyeongjang Jul 20, 2025
40ee1c8
Merge pull request #77 from minxxcozy/feature/diff-patch-refactor
inyeongjang Jul 20, 2025
a13f957
Chore: pyproject.toml 수정
inyeongjang Jul 20, 2025
eb0cfe7
Refactor: LLM 파이프라인 구조 리팩토링 및 예외/출력 정리
Jul 20, 2025
2831cec
Merge pull request #78 from AutoFiC/Refactor/llm
inyeongjang Jul 20, 2025
add9313
refactor: cli
Jul 21, 2025
1dced32
Update server.py
pxxguin Jul 21, 2025
1e306a8
Update requirements.txt
pxxguin Jul 21, 2025
0bc9b2a
Merge pull request #80 from pxxguin/dev
inyeongjang Jul 21, 2025
897a296
Merge pull request #79 from AutoFiC/refactor/cli
inyeongjang Jul 21, 2025
3d4410b
Update README.md
inyeongjang Jul 21, 2025
4791d14
Fix: Semgrep 전처리 로직 개선
inyeongjang Jul 22, 2025
23dc59c
Merge branch 'dev' of https://github.com/AutoFiC/autofic-core into dev
inyeongjang Jul 22, 2025
205d058
Refactor: cli.py 출력 형식 개선
inyeongjang Jul 22, 2025
c16e38a
Refactor: cli.py 출력 형식 개선
inyeongjang Jul 22, 2025
79213cb
Update: js 파일 필터링 후 Snykcode 실행
inyeongjang Jul 22, 2025
7db4592
refactor: cli.py
Jul 22, 2025
f2b4a7e
Merge branch 'refactor/cli' into dev
inyeongjang Jul 22, 2025
d1e4d41
Chore: pyproject.toml 수정
inyeongjang Jul 22, 2025
4f3c4fd
Fix: 저장소 정보 및 결과 요약 가독성 향상
minxxcozy Jul 22, 2025
8e6d3b5
Fix: cli.py 병합 전으로 복구
inyeongjang Jul 22, 2025
66320f5
Remove: docs 삭제
inyeongjang Jul 22, 2025
9c63219
Merge pull request #82 from minxxcozy/feature/print-summary-enhancement
inyeongjang Jul 22, 2025
c96ee34
Chore: 로그 백업
inyeongjang Jul 22, 2025
58cc93e
Merge branch 'dev' of https://github.com/AutoFiC/autofic-core into dev
inyeongjang Jul 22, 2025
91d1663
refactor: cli/RepositoryManager error
Jul 23, 2025
12244b7
refator: cli/repositoryManager error update
Jul 23, 2025
5fce3d6
refactor:cli main error
Jul 24, 2025
3a0800e
refactor: cli-option error update, --explain update
Jul 24, 2025
2831c1a
refactor: cli-main option error update
Jul 24, 2025
c133ced
Fix: approved prs
seoonju Jul 25, 2025
6670096
Merge branch 'dev' of https://github.com/seoonju/autofic-core into dev
seoonju Jul 25, 2025
cf3656d
merge:refactor
Jul 25, 2025
1e32a40
merge: refactoring update
Jul 25, 2025
c1b0f49
Merge pull request #85 from AutoFiC/refactor/cli-main
inyeongjang Jul 25, 2025
9fdbaa9
Merge pull request #87 from seoonju/dev
inyeongjang Jul 25, 2025
69a299d
Fix: 명령줄 인터페이스를 정의, 인수를 파싱 및 검증
minxxcozy Jul 25, 2025
6453114
Fix: AutoFiCPipeline 클래스를 포함, 파이프라인의 핵심 단계를 관리
minxxcozy Jul 25, 2025
34d822f
Fix: 기존 cli.py의 AutoFiCApp 클래스를 해당 파일로 이동
minxxcozy Jul 25, 2025
fd1b3f7
Update: cli.py 출력문 개선, README 수정
inyeongjang Jul 25, 2025
6edec12
Merge branch 'dev' of https://github.com/AutoFiC/autofic-core into dev
inyeongjang Jul 25, 2025
7228ab4
Update README.md
inyeongjang Jul 25, 2025
b9925b5
Update README.md
inyeongjang Jul 25, 2025
3820e9b
Update README.md
inyeongjang Jul 25, 2025
4de5d3d
Delete log_backup.json
inyeongjang Jul 25, 2025
23d0df8
Merge pull request #88 from minxxcozy/refactor/cli-modularity
inyeongjang Jul 26, 2025
f9d51fa
Fix: PR 단계별 로그 메시지 간소화 및 출력 리팩토링
minxxcozy Jul 26, 2025
b10218a
Fix: 콘솔 출력 메시지를 rich 스타일로 변경 및 출력 형식 개선
minxxcozy Jul 26, 2025
0a68a44
Fix: 콘솔 출력 메시지를 rich 스타일로 변경 및 출력 형식 개선
minxxcozy Jul 26, 2025
3848d1c
Fix: 콘솔 출력 메시지를 rich 스타일로 변경 및 출력 형식 개선
minxxcozy Jul 26, 2025
7ed6a74
Fix: Skip logging when PR is not created
seoonju Jul 26, 2025
060f31d
Merge pull request #90 from seoonju/dev
inyeongjang Jul 27, 2025
33873e1
Fix: CodeQL NO_CHANGES_DETECTED 에러 처리
minxxcozy Jul 27, 2025
6035cda
Merge refactor/pr-auto-improve
inyeongjang Jul 27, 2025
6aec5a5
Merge pull request #91 from minxxcozy/refactor/codeql-no-changes-dete…
inyeongjang Jul 27, 2025
5e44581
[AutoFiC] Fix : uiux 개선
Jul 27, 2025
a051bd9
Merge pull request #92 from AutoFiC/sooonnae
inyeongjang Jul 27, 2025
6e673c3
Update: opened prs logs
seoonju Jul 27, 2025
c7169d8
Update : .env.example 주석 영문으로 변경
inyeongjang Jul 27, 2025
09b3c6b
Chore: requirements.txt 수정
inyeongjang Jul 27, 2025
d3f4926
Chore: 빈 폴더 삭제
inyeongjang Jul 27, 2025
a548a99
Update: 프롬프트 이모지 제거
inyeongjang Jul 27, 2025
0ff2037
Chore: test 폴더 삭제
inyeongjang Jul 27, 2025
d80ae13
Fix: 로그 생성 및 저장 방식 개선
minxxcozy Jul 27, 2025
9799cf2
Merge pull request #93 from minxxcozy/refactor/log-structure-improvement
inyeongjang Jul 27, 2025
0895de7
Chore: 프롬프트 수정
inyeongjang Jul 27, 2025
b6ab5b4
Merge branch 'dev' of https://github.com/AutoFiC/autofic-core into dev
inyeongjang Jul 27, 2025
0c3b613
Chore: pyproject.toml 수정
inyeongjang Jul 27, 2025
65be58e
Merge remote-tracking branch 'upstream/dev' into dev
seoonju Jul 27, 2025
bf4f57c
Fix: opened prs logs
seoonju Jul 27, 2025
15b69a0
Fix: opened prs logs
seoonju Jul 27, 2025
65fc638
Fix: opened prs logs
seoonju Jul 27, 2025
f2a7685
Merge pull request #94 from seoonju/dev
inyeongjang Jul 28, 2025
d98a3ee
Update README.md
soonnae Jul 28, 2025
b090153
Fix: approved, opened logs
seoonju Jul 31, 2025
f3eb687
Merge pull request #95 from seoonju/dev
inyeongjang Jul 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
# Required Authentication Token
OPENAI_API_KEY=your-key-here
GITHUB_TOKEN=your-token-here
GITHUB_TOKEN=your-token-here
USER_NAME=your-github-username
DISCORD_WEBHOOK_URL=your-discord-webhook
SLACK_WEBHOOK_URL=your-slack-webhook
SNYK_TOKEN=your_token_here

# File Extensions to collect from Github
GITHUB_EXTENSIONS=.js,.mjs,.jsx,.ts

# Semgrep Rule (default : JavaScript)
SEMGREP_RULE=p/javascript

# Server URL
LOG_API_URL=https://autofic-core-kmw6.onrender.com/
52 changes: 52 additions & 0 deletions .github/workflows/autofic_javascript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Autofic SAST for Selected JavaScript Repos

on:
schedule:
- cron: '00 21 * * 0' # 매주 월요일 오전 6시
workflow_dispatch:

jobs:
find-and-run:
runs-on: ubuntu-latest

steps:
- name: Checkout this repository
uses: actions/checkout@v4
with:
persist-credentials: true

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install -e .

- name: Set Git config
run: |
git config --global user.email "github-actions@users.noreply.github.com"
git config --global user.name "github-actions"

- name: Run ci_automation.py automatically
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
USER_NAME: ${{ secrets.USER_NAME }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
RESULT_SAVE_DIR: ${{ github.workspace }}/result,
LOG_API_URL: ${{secrets.LOG_API_URL}}
run: |
python src/autofic_core/ci_cd_auto/ci_automation.py

- name: Trigger dashboard update in Dashboard repo
run: |
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GIT_TOKEN }}" \
https://api.github.com/repos/Autofic/Dashboard/actions/workflows/update_dashboard.yml/dispatches \
-d '{"ref":"main"}'
29 changes: 29 additions & 0 deletions .github/workflows/check_approval.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Check PR Approval Status

on:
schedule:
- cron: '00 21 * * *' # 매일 오전 6시
workflow_dispatch:

jobs:
check-approval:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install dependencies
run: pip install requests python-dotenv

- name: Check PR Approval Status
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
LOG_API_URL: ${{ secrets.LOG_API_URL }}
run: |
python src/autofic_core/log/check_approval.py
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,9 @@ cython_debug/

# PyPI configuration file
.pypirc

# macOS
.DS_Store

# backup files
log_backup.json
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include README.md LICENSE
recursive-include src/autofic_core *.json *.md *.yml
Loading
Loading