Merged PR 353: staging用pipelineのymlのトリガーを修正する

## 概要
[Task2488: staging用pipelineのymlのトリガーを修正する](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/2488)

- (まだ稼働していないStagingデプロイパイプラインの)トリガー部分のチェックロジックが権限不足で動作していなかった箇所を修正

## レビューポイント
- 情報共有

## 動作確認状況
- mainブランチ外のブランチがpipeline上で実行された時に失敗することを確認
This commit is contained in:
湯本 開 2023-08-24 03:23:51 +00:00
parent fe7581cf10
commit c42ba4d3db
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ jobs:
- checkout: self
clean: true
fetchDepth: 1
persistCredentials: true
- script: |
git fetch origin main:main
if git merge-base --is-ancestor $(Build.SourceVersion) main; then

View File

@ -15,6 +15,7 @@ jobs:
- checkout: self
clean: true
fetchDepth: 1
persistCredentials: true
- script: |
git fetch origin main:main
if git merge-base --is-ancestor $(Build.SourceVersion) main; then