Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Use checkout in action

Quinn Casey06e7e40b1509
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