코드파이프라인 : GitHub version 1 source action to a GitHub version 2 source action 교체 필요

hyuckhoon.ko·2023년 5월 4일
0

TIL

목록 보기
21/69

AWS 코드 파이프라인에 GitHub 소스 액션 관련 2가지 지원함.

1. 권장 : Github version 2

Github app-based auth backed by a CodeStarSourceConnection for Bitbucket, GitHub, and GitHub Enterprise Server actions resource. It installs an AWS CodeStar Connections application into your GitHub organization so that you can manage access in GitHub.

2. 비권장 Github version 1

: The GitHub version 1 action uses OAuth tokens to authenticate with GitHub and uses a separate webhook to detect changes. This is no longer the recommended method.

Note
This feature is not available in the Asia Pacific (Hong Kong) or Europe (Milan) Region. To use other source actions available in that Region, see Source action integrations.

There are some important advantages to using the GitHub version 2 action instead of the GitHub version 1 action


Github version 2 장점

코드파이프라인이 OAuth 앱들이나 개인 접근 토근이 필요없다. 깃헙 Organization 레벨에서 접근 관리를 한다. 코드파이프라인과 깃헙을 연결 설정하면, GitHub App이 자동 설치되기 때문이다. 물론 해당 레포지토리에 접근이 가능하게 하기 위해 OAuth 토큰을 검증받아야 한다.

0개의 댓글