mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-19 03:03:50 -06:00
ci: lock the exact versions of the GitHub Actions our workflows use (#33679)
Our workflows refer to actions by tag, and a tag can be moved to different code after we reviewed it. This adds GitHub's workflow lockfile, which records the exact commit behind each action version, and the workflows now name exact releases (v5.1.0 instead of v5, for example) as the lockfile tool requires. Dependabot already tracks these actions. The regression workflow that follows the tests repo's main branch is not covered.
This commit is contained in:
@@ -0,0 +1,112 @@
|
||||
# This file is machine-generated by `gh actions-lock`.
|
||||
# Do not edit by hand; run `gh actions-lock` to update.
|
||||
# Docs: https://gh.io/actions-lockfile
|
||||
version: 'v0.0.3'
|
||||
workflows:
|
||||
'.github/workflows/backend.yaml':
|
||||
- 'actions/checkout@v5.1.0'
|
||||
- 'actions/setup-python@v6.3.0'
|
||||
'.github/workflows/docker.yaml':
|
||||
- 'actions/checkout@v5.1.0'
|
||||
- 'actions/create-github-app-token@v2.2.2'
|
||||
- 'actions/download-artifact@v5.0.0'
|
||||
- 'actions/github-script@v8.0.0'
|
||||
- 'actions/upload-artifact@v4.6.2'
|
||||
- 'docker/build-push-action@v5.4.0'
|
||||
- 'docker/login-action@v3.7.0'
|
||||
- 'docker/metadata-action@v5.10.0'
|
||||
- 'docker/setup-buildx-action@v3.12.0'
|
||||
- 'docker/setup-qemu-action@v3.7.0'
|
||||
'.github/workflows/frontend.yaml':
|
||||
- 'actions/checkout@v5.1.0'
|
||||
- 'actions/setup-node@v5.0.0'
|
||||
'.github/workflows/issue-label.yaml':
|
||||
- 'actions/github-script@v7.1.0'
|
||||
'.github/workflows/regression.yaml': []
|
||||
'.github/workflows/release-pypi.yml':
|
||||
- 'actions/checkout@v5.1.0'
|
||||
- 'actions/setup-node@v5.0.0'
|
||||
- 'actions/setup-python@v6.3.0'
|
||||
- 'pypa/gh-action-pypi-publish@release/v1'
|
||||
'.github/workflows/release.yml':
|
||||
- 'actions/checkout@v5.1.0'
|
||||
- 'actions/github-script@v8.0.0'
|
||||
- 'actions/upload-artifact@v4.6.2'
|
||||
dependencies:
|
||||
'actions/checkout@v5.1.0':
|
||||
ref: 'v5.1.0'
|
||||
commit: 'sha1-fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09'
|
||||
owner_id: 44036562
|
||||
repo_id: 197814629
|
||||
'actions/create-github-app-token@v2.2.2':
|
||||
ref: 'v2.2.2'
|
||||
commit: 'sha1-fee1f7d63c2ff003460e3d139729b119787bc349'
|
||||
owner_id: 44036562
|
||||
repo_id: 642580244
|
||||
'actions/download-artifact@v5.0.0':
|
||||
ref: 'v5.0.0'
|
||||
commit: 'sha1-634f93cb2916e3fdff6788551b99b062d0335ce0'
|
||||
owner_id: 44036562
|
||||
repo_id: 192626254
|
||||
'actions/github-script@v7.1.0':
|
||||
ref: 'v7.1.0'
|
||||
commit: 'sha1-f28e40c7f34bde8b3046d885e986cb6290c5673b'
|
||||
owner_id: 44036562
|
||||
repo_id: 205262760
|
||||
'actions/github-script@v8.0.0':
|
||||
ref: 'v8.0.0'
|
||||
commit: 'sha1-ed597411d8f924073f98dfc5c65a23a2325f34cd'
|
||||
owner_id: 44036562
|
||||
repo_id: 205262760
|
||||
'actions/setup-node@v5.0.0':
|
||||
ref: 'v5.0.0'
|
||||
commit: 'sha1-a0853c24544627f65ddf259abe73b1d18a591444'
|
||||
owner_id: 44036562
|
||||
repo_id: 189476904
|
||||
'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405':
|
||||
ref: 'v6.2.0'
|
||||
commit: 'sha1-a309ff8b426b58ec0e2a45f0f869d46889d02405'
|
||||
owner_id: 44036562
|
||||
repo_id: 192625525
|
||||
'actions/setup-python@v6.3.0':
|
||||
ref: 'v6.3.0'
|
||||
commit: 'sha1-ece7cb06caefa5fff74198d8649806c4678c61a1'
|
||||
owner_id: 44036562
|
||||
repo_id: 192625525
|
||||
'actions/upload-artifact@v4.6.2':
|
||||
ref: 'v4.6.2'
|
||||
commit: 'sha1-ea165f8d65b6e75b540449e92b4886f43607fa02'
|
||||
owner_id: 44036562
|
||||
repo_id: 192625955
|
||||
'docker/build-push-action@v5.4.0':
|
||||
ref: 'v5.4.0'
|
||||
commit: 'sha1-ca052bb54ab0790a636c9b5f226502c73d547a25'
|
||||
owner_id: 5429470
|
||||
repo_id: 241092383
|
||||
'docker/login-action@v3.7.0':
|
||||
ref: 'v3.7.0'
|
||||
commit: 'sha1-c94ce9fb468520275223c153574b00df6fe4bcc9'
|
||||
owner_id: 5429470
|
||||
repo_id: 287743349
|
||||
'docker/metadata-action@v5.10.0':
|
||||
ref: 'v5.10.0'
|
||||
commit: 'sha1-c299e40c65443455700f0fdfc63efafe5b349051'
|
||||
owner_id: 5429470
|
||||
repo_id: 306769011
|
||||
'docker/setup-buildx-action@v3.12.0':
|
||||
ref: 'v3.12.0'
|
||||
commit: 'sha1-8d2750c68a42422c14e847fe6c8ac0403b4cbd6f'
|
||||
owner_id: 5429470
|
||||
repo_id: 288485773
|
||||
'docker/setup-qemu-action@v3.7.0':
|
||||
ref: 'v3.7.0'
|
||||
commit: 'sha1-c7c53464625b32c7a7e944ae62b3e17d2b600130'
|
||||
owner_id: 5429470
|
||||
repo_id: 288487894
|
||||
'pypa/gh-action-pypi-publish@release/v1':
|
||||
ref: 'release/v1'
|
||||
commit: 'sha1-7245906fb61fa33a13554f9d5fb856fe61758086'
|
||||
owner_id: 647025
|
||||
repo_id: 178055147
|
||||
uses:
|
||||
- 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405'
|
||||
@@ -27,9 +27,9 @@ jobs:
|
||||
matrix:
|
||||
python-version: ['3.11', '3.12']
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v5.1.0
|
||||
|
||||
- uses: actions/setup-python@v6
|
||||
- uses: actions/setup-python@v6.3.0
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
|
||||
@@ -67,13 +67,13 @@ jobs:
|
||||
run: rm -rf /opt/hostedtoolcache
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v5.1.0
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
uses: docker/setup-qemu-action@v3.7.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v3.12.0
|
||||
|
||||
- name: Prepare CI Dockerfile
|
||||
run: |
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
' Dockerfile > "${RUNNER_TEMP}/Dockerfile"
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
|
||||
- name: Extract metadata for Docker images
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: ${{ env.FULL_IMAGE_NAME }}
|
||||
tags: |
|
||||
@@ -111,7 +111,7 @@ jobs:
|
||||
|
||||
- name: Extract metadata for Docker cache
|
||||
id: cache-meta
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: ${{ env.FULL_IMAGE_NAME }}
|
||||
tags: |
|
||||
@@ -122,7 +122,7 @@ jobs:
|
||||
latest=false
|
||||
|
||||
- name: Build Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
uses: docker/build-push-action@v5.4.0
|
||||
id: build
|
||||
with:
|
||||
context: .
|
||||
@@ -146,7 +146,7 @@ jobs:
|
||||
touch "/tmp/digests/${digest#sha256:}"
|
||||
|
||||
- name: Upload digest
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: digests-${{ matrix.variant.name }}-${{ env.PLATFORM_PAIR }}
|
||||
path: /tmp/digests/*
|
||||
@@ -183,7 +183,7 @@ jobs:
|
||||
|
||||
- name: Download digests
|
||||
id: download
|
||||
uses: actions/download-artifact@v5
|
||||
uses: actions/download-artifact@v5.0.0
|
||||
with:
|
||||
pattern: digests-${{ matrix.variant.name }}-*
|
||||
path: /tmp/digests
|
||||
@@ -204,11 +204,11 @@ jobs:
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
if: steps.check.outputs.skip != 'true'
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v3.12.0
|
||||
|
||||
- name: Log in to the Container registry
|
||||
if: steps.check.outputs.skip != 'true'
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -217,7 +217,7 @@ jobs:
|
||||
- name: Extract metadata for Docker images
|
||||
if: steps.check.outputs.skip != 'true'
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v5.10.0
|
||||
with:
|
||||
images: ${{ env.FULL_IMAGE_NAME }}
|
||||
tags: |
|
||||
@@ -251,7 +251,7 @@ jobs:
|
||||
steps:
|
||||
- name: Create Helm charts app token
|
||||
id: helm-app-token
|
||||
uses: actions/create-github-app-token@v2
|
||||
uses: actions/create-github-app-token@v2.2.2
|
||||
with:
|
||||
app-id: ${{ secrets.HELM_CHARTS_APP_ID }}
|
||||
private-key: ${{ secrets.HELM_CHARTS_APP_PRIVATE_KEY }}
|
||||
@@ -259,7 +259,7 @@ jobs:
|
||||
repositories: helm-charts
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v3.12.0
|
||||
|
||||
- name: Verify published Open WebUI image
|
||||
id: image
|
||||
@@ -279,7 +279,7 @@ jobs:
|
||||
echo "tag=${image_tag}" >> "${GITHUB_OUTPUT}"
|
||||
|
||||
- name: Dispatch Helm chart automation
|
||||
uses: actions/github-script@v8
|
||||
uses: actions/github-script@v8.0.0
|
||||
with:
|
||||
github-token: ${{ steps.helm-app-token.outputs.token }}
|
||||
script: |
|
||||
@@ -334,17 +334,17 @@ jobs:
|
||||
echo "FULL_IMAGE_NAME=${REGISTRY}/${GITHUB_REPOSITORY,,}" >> ${GITHUB_ENV}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v3.12.0
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
@@ -23,9 +23,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v5.1.0
|
||||
|
||||
- uses: actions/setup-node@v5
|
||||
- uses: actions/setup-node@v5.0.0
|
||||
with:
|
||||
node-version: '22'
|
||||
|
||||
@@ -52,9 +52,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v5.1.0
|
||||
|
||||
- uses: actions/setup-node@v5
|
||||
- uses: actions/setup-node@v5.0.0
|
||||
with:
|
||||
node-version: '22'
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Add "bug" label to unlabeled bug reports
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v7.1.0
|
||||
with:
|
||||
script: |
|
||||
const issue = context.payload.issue;
|
||||
@@ -72,7 +72,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Add "enhancement" label to unlabeled feature requests
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v7.1.0
|
||||
with:
|
||||
script: |
|
||||
const issue = context.payload.issue;
|
||||
|
||||
@@ -16,15 +16,15 @@ jobs:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v5.1.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install Git
|
||||
run: sudo apt-get update && sudo apt-get install -y git
|
||||
- uses: actions/setup-node@v5
|
||||
- uses: actions/setup-node@v5.0.0
|
||||
with:
|
||||
node-version: 22
|
||||
- uses: actions/setup-python@v6
|
||||
- uses: actions/setup-python@v6.3.0
|
||||
with:
|
||||
python-version: 3.12
|
||||
- name: Build
|
||||
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
contents: write
|
||||
actions: write
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v5.1.0
|
||||
|
||||
- name: Abort if package.json unchanged
|
||||
run: |
|
||||
@@ -65,7 +65,7 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Archive source
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.6.2
|
||||
with:
|
||||
name: release-archive
|
||||
path: |
|
||||
@@ -75,7 +75,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Trigger Docker build
|
||||
uses: actions/github-script@v8
|
||||
uses: actions/github-script@v8.0.0
|
||||
with:
|
||||
script: |
|
||||
github.rest.actions.createWorkflowDispatch({
|
||||
|
||||
Reference in New Issue
Block a user