Update GitHub workflows and remove unused workflow (#1648)

* Update GitHub workflows to include release_package input

* Remove unused GitHub workflow for async API tests
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-04-09 01:12:58 -03:00 • committed by GitHub
commit 2ff3d49841
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 70 deletions

View file

@ -1,26 +1,20 @@
name: Langflow Base Pre-release
run-name: Langflow Base Pre-release by @${{ github.actor }}
on:
pull_request:
types:
- closed
branches:
- dev
paths:
- "src/backend/base/pyproject.toml"
workflow_dispatch:
inputs:
force_release:
description: "Force a release"
required: false
default: "false"
release_package:
description: "Release package"
required: true
type: boolean
default: false
env:
POETRY_VERSION: "1.8.2"
jobs:
if_release:
if: ${{ (github.event.pull_request.merged == true) && contains(github.event.pull_request.labels.*.name, 'pre-release') }} || ${{ github.event_name == 'workflow_dispatch' && inputs.force_release == 'true' }}
if: inputs.release_package == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4