From 7103a54bc899bcf1725ee844310123c19bb52637 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Sun, 8 Sep 2024 04:56:20 +0800 Subject: chore(workflow): update inputs for version in workflows (#110) --- .github/workflows/build-api.yml | 5 +++++ .github/workflows/changelog.yml | 5 +++++ .github/workflows/release.yml | 5 +++++ 3 files changed, 15 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/build-api.yml b/.github/workflows/build-api.yml index ee3411f..b81f717 100644 --- a/.github/workflows/build-api.yml +++ b/.github/workflows/build-api.yml @@ -5,6 +5,11 @@ on: tags: - "v*" workflow_dispatch: + inputs: + version: + type: string + required: true + description: 'The version to update' jobs: update-api-doc: diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index e89687a..e65d953 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -6,6 +6,11 @@ on: - "v*" # - v[0-9]+.[0-9]+.[0-9]+ workflow_dispatch: + inputs: + version: + type: string + required: true + description: 'The version to update' jobs: deploy: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9200ad..b2f9f56 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,11 @@ on: - 'v*' pull_request: workflow_dispatch: + inputs: + version: + type: string + required: true + description: 'The version to update' permissions: contents: read -- cgit v1.2.3-70-g09d2