chore: Update branch checkout description in TypeScript test workflow
This commit is contained in:
parent
8be557b3c2
commit
37bf11f6a2
1 changed files with 6 additions and 2 deletions
8
.github/workflows/typescript_test.yml
vendored
8
.github/workflows/typescript_test.yml
vendored
|
|
@ -4,8 +4,8 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
branch:
|
branch:
|
||||||
description: "Branch to run tests on"
|
description: "(Optional) Branch to checkout"
|
||||||
required: true
|
required: false
|
||||||
type: string
|
type: string
|
||||||
pull_request:
|
pull_request:
|
||||||
merge_group:
|
merge_group:
|
||||||
|
|
@ -33,6 +33,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
# If branch is passed as input, checkout that branch
|
||||||
|
# else checkout the default branch
|
||||||
|
ref: ${{ github.event.inputs.branch || github.ref }}
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue