From 06e7e40b150980b2ad2625aa41e096ffdc3c0de6 Mon Sep 17 00:00:00 2001 From: Quinn Casey Date: Thu, 12 May 2022 15:36:46 -0700 Subject: [PATCH] Use checkout in action --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c907fa71..e7dba1eb8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -384,14 +384,13 @@ jobs: - name: Checkout uses: actions/checkout@v3 + with: + ref: main - name: Append Changelog to docs id: append-Changelog working-directory: docs run: | - git status - git pull origin main - git checkout main echo -e "# Changelog\n\n${{ steps.create-release.outputs.body }}\n" > changelog-new.md CURRENT_CHANGELOG=`tail --lines +2 changelog.md` echo -e "$CURRENT_CHANGELOG" >> changelog-new.md