From b2256e661cad9dd843cfbbae9648023625da8e32 Mon Sep 17 00:00:00 2001 From: Dave Brudner Date: Wed, 12 Aug 2020 09:39:40 -0500 Subject: [PATCH] Updates base branch before committing changes to DT GH action --- .github/workflows/dt.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dt.yaml b/.github/workflows/dt.yaml index 780264830..180a0f0ee 100644 --- a/.github/workflows/dt.yaml +++ b/.github/workflows/dt.yaml @@ -25,6 +25,8 @@ jobs: git config user.password ${{ secrets.DEFINITELY_TYPED_PR_GITHUB_ACCESS_TOKEN }} git remote set-url origin https://github.com/dbrudner/DefinitelyTyped git fetch --unshallow -p origin + git remote add upstream https://github.com/DefinitelyTyped/DefinitelyTyped.git + git pull upstream master - name: Add DefinitelyTyped header run: | version=$(cat recurly-js/package.json | jq '.version' -r | sed -ne 's/^\([0-9]*\.[0-9]*\).*/\1/p')