mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
re-position TODOs in migrate pipeline
This commit is contained in:
parent
c9fb38ceea
commit
041476624a
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# Adds an Entity Framework Core migration to a pull request that changes data in data/*.json
|
||||
|
||||
# TODO: If data/* and server/src/FilterLists.Data.Migrations/* change in origin/master, re-trigger this Pipeline.
|
||||
trigger: none
|
||||
|
||||
pr:
|
||||
|
|
@ -21,9 +22,6 @@ steps:
|
|||
git checkout $(System.PullRequest.SourceBranch)
|
||||
displayName: checkout source branch
|
||||
|
||||
# TODO: Merge latest data/* and server/src/FilterLists.Data.Migrations/* from origin/master.
|
||||
# TODO: If data/* and server/src/FilterLists.Data.Migrations/* change in origin/master, re-trigger this Pipeline.
|
||||
|
||||
# TODO: validate author of last commit was $(GITHUBNAME)
|
||||
- bash: |
|
||||
LASTMSG=$(git log -n 1 --pretty=format:"%s")
|
||||
|
|
@ -69,6 +67,8 @@ steps:
|
|||
workingDirectory: server/src
|
||||
condition: and(ne(variables['abortIfJustMigrated.aborted'], 'true'), succeeded())
|
||||
|
||||
# TODO: Merge latest data/* and server/src/FilterLists.Data.Migrations/* from origin/master.
|
||||
|
||||
- script: dotnet ef migrations add $(System.PullRequest.PullRequestNumber) -p FilterLists.Data.Migrations -s FilterLists.Api
|
||||
displayName: add migration
|
||||
workingDirectory: server/src
|
||||
|
|
|
|||
Loading…
Reference in a new issue