From a65648bd92a7f18c365364827ebbe8a7622d2434 Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Sat, 18 Nov 2023 21:26:35 +0300 Subject: [PATCH] added version to commit --- .github/workflows/update_versions.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_versions.yml b/.github/workflows/update_versions.yml index 42afde4..921f684 100644 --- a/.github/workflows/update_versions.yml +++ b/.github/workflows/update_versions.yml @@ -6,7 +6,9 @@ on: datajson: description: 'Version to update' required: true - + version: + description: 'Another version parameter' + required: true jobs: update-version: runs-on: ubuntu-latest @@ -30,5 +32,5 @@ jobs: git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add versions.json - git commit -m "Update version" + git commit -m "Update version to ${{ github.event.inputs.version }}" git push