fix: pass ref in pr comment workflow (#2777)

Co-authored-by: Michael Neale <michael.neale@gmail.com>
This commit is contained in:
Lifei Zhou
2025-06-05 13:34:31 +10:00
committed by GitHub
parent 49c4038d38
commit 6076c9b5dc
5 changed files with 46 additions and 10 deletions
@@ -17,6 +17,10 @@ on:
required: false
WINDOWS_CERTIFICATE_PASSWORD:
required: false
ref:
type: string
required: false
default: 'refs/heads/main'
jobs:
build-desktop-windows:
@@ -27,6 +31,9 @@ jobs:
# 1) Check out source
- name: Checkout repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
with:
ref: ${{ inputs.ref }}
fetch-depth: 0
# 2) Set up Node.js
- name: Set up Node.js