Skip to content

Commit

Permalink
Feat: dependa bot sync (#31)
Browse files Browse the repository at this point in the history
* Fix: sync-upstream yml

* Fix: optional delete

* Fix: sync-upstream yml fork url

* Fix: sync-upstream yml 2차 수정

* Fix: sync-upstream yml 3차 수정

* Update README.md

* Update README.md

* Fix: sync-upstream dependa-bot
  • Loading branch information
minchodang authored Aug 6, 2024
1 parent 839b8f7 commit 88cffb3
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 47 deletions.
13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Dependabot 업데이트 PR

이 PR은 Dependabot에 의해 자동으로 생성되었습니다.

### 체크리스트

- [ ] 변경된 패키지의 변경 로그를 확인했습니까?
- [ ] 주요 변경 사항이 있는 경우, 애플리케이션에 미치는 영향을 검토했습니까?
- [ ] 필요한 경우, 관련 테스트를 실행하고 통과했습니까?

### 추가 정보

(필요한 경우 여기에 추가 정보를 기재해 주세요)
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
commit-message:
prefix: 'sync'
open-pull-requests-limit: 5
target-branch: 'main'
source:
repo: 'kode-krew/meta-test-be'
branch: 'main'
18 changes: 18 additions & 0 deletions .github/workflows/dependabot-pr-notification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Dependabot PR Notification

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

jobs:
notify:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Notify team about Dependabot PR
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
text: 'New Dependabot PR opened: ${{ github.event.pull_request.html_url }}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44 changes: 0 additions & 44 deletions .github/workflows/sync-upstream.yml

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## meta-test-be

## fork sync test2

### 프로젝트 설정
```js
git clone https://github.com/kode-krew/meta-test-be.git
Expand Down Expand Up @@ -28,4 +30,4 @@ npm run start:dev
```js
http://127.0.0.1:8000/api

```
```
2 changes: 0 additions & 2 deletions src/auth/strategy/kakao.strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ export class KakaoStrategy extends PassportStrategy(Strategy, 'kakao') {
constructor() {
super({
clientID: process.env.KAKAO_CLIENT_ID,
//NOTE: 아래는 Optional
// clientSecret: process.env.KAKAO_CLIENT_SECRET,
callbackURL: process.env.KAKAO_CALLBACK_URL,
scope: ['account_email', 'profile_nickname'],
});
Expand Down

0 comments on commit 88cffb3

Please sign in to comment.