Slide 15
Slide 15 text
- name: Fail if head branch name is invalid
if: |-
!(
github.head_ref == 'develop' ||
startsWith(github.head_ref, 'feature/server/') ||
startsWith(github.head_ref, 'feature/front/') ||
...
)
uses: yumemi-inc/comment-pull-request@v1
with:
comment: |
Head branch name is invalid.
fail: true
4. ϒϥϯν໊ͷνΣοΫ
ϓϧϦΫʹίϝϯτͭͭ͠ϫʔΫϑϩʔΛམͱ͢
※ ࣮ࡍͷӡ༻Ͱ head ϒϥϯνຖͷ base ϒϥϯν໊ͷνΣοΫʢ͖ઌ͕ਖ਼͍͔͠ʣ͍ͯ͠·͢