Merge pull request #25524 from open-webui/dev

refac
This commit is contained in:
Tim Baek 2026-06-01 15:01:27 -07:00 committed by GitHub
commit 90f4b4fcda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 15 deletions

View file

@ -143,7 +143,7 @@ jobs:
merge:
runs-on: ubuntu-latest
needs: [build]
if: !cancelled()
if: ${{ !cancelled() }}
permissions:
contents: read
packages: write
@ -233,9 +233,7 @@ jobs:
copy-to-dockerhub:
runs-on: ubuntu-latest
if: >-
!cancelled() &&
(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
if: ${{ !cancelled() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
needs: [merge]
continue-on-error: true
strategy:

View file

@ -56,14 +56,3 @@ jobs:
!.git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Dispatch Docker build
uses: actions/github-script@v8
with:
script: |
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'docker.yaml',
ref: 'v${{ steps.pkg.outputs.version }}',
})