inline: move release and ci workflows from org shared (PRI-1737)
Promotion Gate / Promotion Gate (pull_request) Failing after 7s
Promotion Gate / Promotion Gate (pull_request) Failing after 7s
- release.yaml: inline full release workflow, call CI via ./.github/workflows/ci.yaml - ci.yaml: add workflow_call trigger and node-version input for release callers - Drop stale RELEASE_APP_ID/RELEASE_APP_PRIVATE_KEY secrets, use GITEA_RELEASE_TOKEN - Add upstream-repo: fenio/tns-csi per original calling convention
This commit is contained in:
committed by
Gandalf the Greybeard [agent]
parent
009986067d
commit
43e477c011
@@ -6,6 +6,19 @@ on:
|
||||
pull_request:
|
||||
branches: [main, dev, uat]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
node-version:
|
||||
description: 'Node.js version to use'
|
||||
required: false
|
||||
type: string
|
||||
default: '22'
|
||||
workflow_call:
|
||||
inputs:
|
||||
node-version:
|
||||
description: 'Node.js version to use'
|
||||
required: false
|
||||
type: string
|
||||
default: '22'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -87,7 +100,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: '22'
|
||||
node-version: ${{ inputs.node-version || '22' }}
|
||||
cache: ${{ steps.pkg-manager.outputs.manager == 'npm' && 'npm' || '' }}
|
||||
|
||||
- name: Setup pnpm (via Corepack, reads version from packageManager field)
|
||||
|
||||
Reference in New Issue
Block a user