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
@@ -21,6 +21,10 @@ on:
required: false
default: true
type: boolean
ref:
type: string
required: false
default: 'refs/heads/main'
secrets:
CERTIFICATE_OSX_APPLICATION:
description: 'Certificate for macOS application signing'
@@ -77,6 +81,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
ref: ${{ inputs.ref }}
fetch-depth: 0
# Update versions before build
- name: Update versions