Pass latest commit ref to checkout

This commit is contained in:
Volodymyr Zotov
2026-01-27 12:12:48 -06:00
parent 5fd6fbcfdf
commit 856971e6d6
2 changed files with 13 additions and 0 deletions

View File

@@ -8,6 +8,11 @@ on:
# For test.yml to call this workflow
workflow_call:
inputs:
ref:
description: "Git ref to checkout"
required: true
type: string
secrets:
OP_CONNECT_CREDENTIALS:
required: true
@@ -34,6 +39,7 @@ jobs:
uses: actions/checkout@v5
with:
fetch-depth: 0
ref: ${{ inputs.ref }}
- name: Generate .env.tpl
shell: bash
@@ -101,6 +107,7 @@ jobs:
uses: actions/checkout@v5
with:
fetch-depth: 0
ref: ${{ inputs.ref }}
- name: Generate .env.tpl
run: |