fix(deploy): centralize approved workflow dispatch
ChatGPT validation / quality (push) Failing after 0s
ChatGPT validation / quality (push) Failing after 0s
This commit is contained in:
@@ -3,6 +3,10 @@ name: ForgeFlow approved deploy
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
|
repository:
|
||||||
|
description: Signed allowlisted deployment target (owner/repository)
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
environment:
|
environment:
|
||||||
description: Allowlisted ForgeFlow environment
|
description: Allowlisted ForgeFlow environment
|
||||||
required: true
|
required: true
|
||||||
@@ -33,7 +37,7 @@ on:
|
|||||||
type: string
|
type: string
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: forgeflow-approved-${{ gitea.repository }}-${{ inputs.environment }}
|
group: forgeflow-approved-${{ inputs.repository }}-${{ inputs.environment }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -43,7 +47,7 @@ jobs:
|
|||||||
- name: Validate signed deployment inputs
|
- name: Validate signed deployment inputs
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
FF_REPOSITORY: ${{ gitea.repository }}
|
FF_REPOSITORY: ${{ inputs.repository }}
|
||||||
FF_ENVIRONMENT: ${{ inputs.environment }}
|
FF_ENVIRONMENT: ${{ inputs.environment }}
|
||||||
FF_COMMIT_SHA: ${{ inputs.commit_sha }}
|
FF_COMMIT_SHA: ${{ inputs.commit_sha }}
|
||||||
FF_REQUEST_ID: ${{ inputs.request_id }}
|
FF_REQUEST_ID: ${{ inputs.request_id }}
|
||||||
@@ -65,7 +69,7 @@ jobs:
|
|||||||
- name: Execute root-owned verified deployment
|
- name: Execute root-owned verified deployment
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
FF_REPOSITORY: ${{ gitea.repository }}
|
FF_REPOSITORY: ${{ inputs.repository }}
|
||||||
FF_ENVIRONMENT: ${{ inputs.environment }}
|
FF_ENVIRONMENT: ${{ inputs.environment }}
|
||||||
FF_COMMIT_SHA: ${{ inputs.commit_sha }}
|
FF_COMMIT_SHA: ${{ inputs.commit_sha }}
|
||||||
FF_REQUEST_ID: ${{ inputs.request_id }}
|
FF_REQUEST_ID: ${{ inputs.request_id }}
|
||||||
|
|||||||
Reference in New Issue
Block a user