Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbyul-here committed Dec 11, 2024
1 parent 80cc98c commit 5938c75
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: Preview build with VEDA UI

on:
workflow_dispatch:
inputs:
VERSION_NUMBER:
type: string
repository_dispatch:
types: [update-version]
pull_request:

permissions:
contents: write
Expand All @@ -27,7 +29,7 @@ jobs:

- name: Set Version Variable
id: set-version
run: echo "VERSION=${{ github.event.client_payload.VERSION_NUMBER || 'v5.11.0' }}" >> $GITHUB_ENV
run: echo "VERSION=${{ github.event.client_payload.VERSION_NUMBER || inputs.VERSION_NUMBER }}" >> $GITHUB_ENV

- name: git config
shell: bash
Expand All @@ -47,7 +49,7 @@ jobs:
uses: peter-evans/create-pull-request@v7
with:
commit-message: "Update UI to ${{ env.VERSION }}"
title: "Update submodule to version${{ env.VERSION }}"
body: "This PR updates the submodule to version `${{ env.VERSION }}`."
title: "ci: Update submodule to version ${{ env.VERSION }}"
body: "This is an automatic PR that updates the submodule to version `${{ env.VERSION }}`."
base: develop
branch: ci-${{ env.VERSION }}
branch: ci-update-${{ env.VERSION }}

0 comments on commit 5938c75

Please sign in to comment.