fix: standardize input parameter naming in workflows (#4)

This commit is contained in:
arashagp
2025-01-02 13:07:59 +03:30
committed by GitHub
parent cbb8c41b6d
commit 09498b6079
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ name: Build & Lint & Test & Release
on: on:
workflow_call: workflow_call:
inputs: inputs:
NODE_VERSION: node-version:
description: 'Node.js version' description: 'Node.js version'
required: true required: true
default: 'lts/*' default: 'lts/*'
@@ -56,7 +56,7 @@ jobs:
- name: 🔧 Setup Node.js - name: 🔧 Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: ${{ inputs.NODE_VERSION }} node-version: ${{ inputs.node-version }}
- name: 🛠️ Setup Node.js Corepack - name: 🛠️ Setup Node.js Corepack
run: corepack enable run: corepack enable

View File

@@ -6,7 +6,7 @@ on:
workflow_call: workflow_call:
secrets: secrets:
GITHUB_TOKEN: GITHUB_TOKEN:
description: "GitHub token" description: 'GitHub token'
required: true required: true
permissions: permissions: