시도해본 날짜
2024.01.12 : 3 Hours
2024.01.13 : 8 Hours
오늘 한 것
1. notion to git 찾아보기
2. Pull Request 개념 찾기
3. GIthub 탐구
4. nvm PATH 정리
5. VScode 레지스트리 추가
하기 위해 최종적으로 시도한 방법
- https://github.com/kimbongjune/N2TG 해당 분의 프로그램을 사용해서 티스토리와 깃허브에 연동했음
- 해당 방법이 branch를 계속 생성했음 ⇒ branch가 생성됨과 동시에 auto merge => Git Action 과 Branch protection Rule을 조정해서 해결
해 볼 예정인 방법
옵시디언으로 해보기
하기 위해 찾아봤던 방법들
1. Notion to Git
1. Git Acrtion을 이용해서 코드로 구현할 수 있을 까 했음
GitHub Actions documentation - GitHub Docs
GitHub Integrations | Connect Your Apps with Notion
https://goodahn.tistory.com/132
https://zzsza.github.io/development/2020/06/06/github-action/
https://github.com/igor-kupczynski/notion-exporter
- 문제점
- github 의 PR을 노션에 연동해주는 방법이었음
- notion to git을 하기 위한 코드를 nodejs가 필요한 방법이었기 때문에, 어려움을 느낌
2. Zapier 사용하기
GPT에 물어봤을 때 해당프로그램을 사용하는것을 권했음.
https://blog.hodory.dev/2022/01/02/account-book-with-notion-and-github-actions/
But 무료 계정으로서는 한계가 존재했기 때문에 보류
3. 노션에서 export해서 파일을 통해 올리기
Notion으로 글 작성하고 Github io로 글 옮기기 - 뀔뀔(swieeft)의 개발새발기
해당 방법은 글을 export 할 때 마다 해야 할 일이 많아서 보류
2. AutoMerge
- 로컬에서 시행하는 방법들https://dev.classmethod.jp/articles/about-the-merger-of-github-branch/
- https://abangpa1ace.tistory.com/entry/Github-Branch-병합Merge-Squash-Rebase
- https://abangpa1ace.tistory.com/entry/Github-Branch-병합Merge-Squash-Rebase
- https://dev.classmethod.jp/articles/about-the-merger-of-github-branch/
- https://velog.io/@tyrl76/Github-Action-Automerge
name: automerge
on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- id: automerge
name: automerge
uses: "pascalgn/automerge-action@v0.16.2"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: ""
https://github.com/pascalgn/automerge-action 해당 git action을 사용함.
Setting - Actions - General

Settings - Branches - Add rule 또는 기존 룰 선택
*) 개인 리포지토리였기 때문에 해당 설정을 전부 해제함.

'Github' 카테고리의 다른 글
| Obsidian to Github (1) | 2024.01.15 |
|---|