auto-tag: release/ ブランチからのマージのみに制限

develop を直接 main に PR すると自動削除されるため、
release/vX.X.X ブランチ経由のマージのみタグを作成するよう変更
This commit is contained in:
nrslib 2026-02-05 19:55:30 +09:00
parent aff8dd23cc
commit f8e58bcaf9

View File

@ -9,7 +9,8 @@ jobs:
tag:
if: >
github.event.pull_request.merged == true &&
startsWith(github.event.pull_request.title, 'Release v')
startsWith(github.event.pull_request.title, 'Release v') &&
startsWith(github.event.pull_request.head.ref, 'release/')
runs-on: ubuntu-latest
permissions:
contents: write