Skip to content

Commit 90f4b4f

Browse files
authored
Merge pull request open-webui#25524 from open-webui/dev
refac
2 parents b3e9d16 + 4be25c4 commit 90f4b4f

2 files changed

Lines changed: 2 additions & 15 deletions

File tree

.github/workflows/docker.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
merge:
144144
runs-on: ubuntu-latest
145145
needs: [build]
146-
if: !cancelled()
146+
if: ${{ !cancelled() }}
147147
permissions:
148148
contents: read
149149
packages: write
@@ -233,9 +233,7 @@ jobs:
233233
234234
copy-to-dockerhub:
235235
runs-on: ubuntu-latest
236-
if: >-
237-
!cancelled() &&
238-
(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
236+
if: ${{ !cancelled() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
239237
needs: [merge]
240238
continue-on-error: true
241239
strategy:

.github/workflows/release.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,3 @@ jobs:
5656
!.git
5757
env:
5858
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59-
60-
- name: Dispatch Docker build
61-
uses: actions/github-script@v8
62-
with:
63-
script: |
64-
github.rest.actions.createWorkflowDispatch({
65-
owner: context.repo.owner,
66-
repo: context.repo.repo,
67-
workflow_id: 'docker.yaml',
68-
ref: 'v${{ steps.pkg.outputs.version }}',
69-
})

0 commit comments

Comments
 (0)