From c9fb38ceea5d6ae98d09cc5ee1c9988c5fa81d32 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Wed, 12 Feb 2020 17:47:39 -0600 Subject: [PATCH] add 2x low-priority TODOs to validate bot commits are being used in logic --- server/azure-pipelines.migrate.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/azure-pipelines.migrate.yaml b/server/azure-pipelines.migrate.yaml index 239e81020..2390bbfee 100644 --- a/server/azure-pipelines.migrate.yaml +++ b/server/azure-pipelines.migrate.yaml @@ -24,6 +24,7 @@ steps: # 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") echo "Last commit message: \"$LASTMSG\"" @@ -53,6 +54,7 @@ steps: GITHUBEMAIL: $(GITHUBEMAIL) condition: and(ne(variables['abortIfJustMigrated.aborted'], 'true'), succeeded()) + # TODO: additionally grep on author of $(GITHUBNAME) when getting $REVERTHASH - bash: | MIGLIST=$(dotnet ef migrations list -p FilterLists.Data.Migrations -s FilterLists.Api) echo "$MIGLIST"