[Fix] delete merged branch github action #569
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
안녕하세요, 코드잇 스프린트 1기를 수료한 한슬희라고 합니다.
문제
스프린트 수강 당시, PR 머지 후 브랜치 삭제 github action이 동작하지 않아 #237 에서 문제를 해결한 경험이 있었습니다.
그러나 최근 코드잇 스프린트 오가니제이션에 방문하면서, 아래와 같이 빌드가 모두 실패한 모습을 보게 되었습니다.
해결
빌드 실패의 원인은 SvanBoxel/delete-merged-branch#257 해당 이슈와 동일한 내용이며 2024년 6월부로 지원이 어렵다는 것을 확인할 수 있었습니다.
이 문제를 해결하기 위해 SvanBoxel/delete-merged-branch 대신 안정성이 높은 github actions 공식 액션인 github-script를 사용하여 문제를 해결하였습니다.
해당 변경 사항은 개인 레포에서 테스트 완료하였습니다.
기타
코드잇 항상 응원합니다 🙂
감사합니다!