From 08514faf17b8ee1629a64e405f0a3ce7c53ed94c Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Sat, 15 Jul 2023 11:25:22 +0100 Subject: [PATCH] Checkout main branch --- .gitea/workflows/demo.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index be8ed54..05c1c8a 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -11,6 +11,8 @@ jobs: - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - name: Check out repository code uses: actions/checkout@v3 + with: + ref: main - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." - name: List files in the repository