mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-09-01 11:33:44 +00:00
* ci: bump GitHub Actions to Node.js 24 runtimes Clear Node 20 deprecation warnings on runners by moving workflow actions to majors that declare node24 (checkout, cache, setup-node, artifacts, Docker buildx/build-push/qemu/login, github-script, setup-go, Azure login/helm, create-pull-request, axe-linter). * fix: release leader lock via ioredis on Redis Cluster @keyv/redis EVAL can surface unhandled MOVED redirects on cluster, so resign() logged failure and left LeadingServerUUID set. Use ioredis for leader election SET NX / GET / Lua (same pattern as principals and concurrency locks) so cluster redirects are retried and resignation clears the lock.
31 lines
810 B
YAML
31 lines
810 B
YAML
name: Lint for accessibility issues
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'client/src/**'
|
|
- '!**.md'
|
|
workflow_dispatch:
|
|
inputs:
|
|
run_workflow:
|
|
description: 'Set to true to run this workflow'
|
|
required: true
|
|
default: 'false'
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
axe-linter:
|
|
runs-on: ubuntu-latest
|
|
if: >
|
|
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'danny-avila/LibreChat') ||
|
|
(github.event_name == 'workflow_dispatch' && github.event.inputs.run_workflow == 'true')
|
|
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: dequelabs/axe-linter-action@v2
|
|
with:
|
|
api_key: ${{ secrets.AXE_LINTER_API_KEY }}
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|