From 1de1961b73e11ba9b1c1917862e0c8ba40de0645 Mon Sep 17 00:00:00 2001 From: Gleb Bahmutov Date: Tue, 7 Jan 2020 09:46:25 -0500 Subject: [PATCH] use v1 of checkout action (#2360) --- .github/workflows/create-pr-develop-to-master.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/create-pr-develop-to-master.yml b/.github/workflows/create-pr-develop-to-master.yml index 67939f4975..0d6bafadbe 100644 --- a/.github/workflows/create-pr-develop-to-master.yml +++ b/.github/workflows/create-pr-develop-to-master.yml @@ -12,12 +12,10 @@ jobs: pull-request: runs-on: ubuntu-latest steps: - # https://github.com/actions/checkout#fetch-all-branches - - uses: actions/checkout@v2 - with: - ref: develop - - run: | - git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* + # using v1 as repo-sync/pull-request recommends + # https://github.com/repo-sync/pull-request/issues/14 + # https://github.com/actions/checkout + - uses: actions/checkout@v1 # https://github.com/repo-sync/pull-request # if the pull request has been successfully merged, then create