auto-tag: release/ ブランチからのマージのみに制限
develop を直接 main に PR すると自動削除されるため、 release/vX.X.X ブランチ経由のマージのみタグを作成するよう変更
This commit is contained in:
parent
aff8dd23cc
commit
f8e58bcaf9
3
.github/workflows/auto-tag.yml
vendored
3
.github/workflows/auto-tag.yml
vendored
@ -9,7 +9,8 @@ jobs:
|
|||||||
tag:
|
tag:
|
||||||
if: >
|
if: >
|
||||||
github.event.pull_request.merged == true &&
|
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
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user