From 98a0b65d97526259b3a3c901ca8a3baaa8959ad6 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Thu, 27 Jul 2023 18:06:55 -0400 Subject: [PATCH] no log: fixed ci workflow to use the branch name that triggered the workflow run. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51db01ef3..71e5b2d83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 with: + ref: ${{ github.ref }} fetch-depth: 1 - name: Cache node_modules @@ -76,6 +77,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 with: + ref: ${{ github.ref }} fetch-depth: 1 - name: Set up Python 3.8