This commit is contained in:
Loan J. 2025-04-23 10:11:36 +02:00 committed by GitHub
commit 957df5becb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 8666 additions and 1 deletions

29
.github/workflows/github-release.yaml vendored Normal file
View File

@ -0,0 +1,29 @@
name: Publish GitHub release
run-name: Release by @${{ github.actor }}
on:
push:
branches:
- main
jobs:
publish-release:
permissions:
contents: write
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate release
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HUSKY: 0

8
.gitignore vendored
View File

@ -9,4 +9,10 @@ pipelines/*
.DS_Store
.venv
venv/
venv/
# Dependency directories
node_modules/
# Optional npm cache directory
.npm

View File

@ -0,0 +1,2 @@
#!/bin/bash
exec < /dev/tty && npx cz --hook || true

32
.releaserc.json Normal file
View File

@ -0,0 +1,32 @@
{
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/github",
{
"successComment": false,
"failTitle": false
}
]
],
"preset": "angular"
}

0
CHANGELOG.md Normal file
View File

8570
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

26
package.json Normal file
View File

@ -0,0 +1,26 @@
{
"name": "pipelines",
"private": true,
"repository": {
"type": "git",
"url": "git@github.com:open-webui/pipelines.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "husky && git config --local core.editor cat"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.1",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"husky": "^9.1.7",
"semantic-release": "^24.2.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}