Skip to content

Small fixes + UI jobs refresh + spam submission failure #897

Small fixes + UI jobs refresh + spam submission failure

Small fixes + UI jobs refresh + spam submission failure #897

Workflow file for this run

# Workflow to tools containers
---
name: tools
on:
workflow_dispatch:
push:
branches:
- "main"
- "staging"
# Pattern matched against refs/tags
tags:
- '**'
paths:
- 'models/**'
- '.github/workflows/tools.yml'
- '.github/workflows/docker.yml'
pull_request:
branches:
- "main"
- "staging"
paths:
- 'models/**'
- '.github/workflows/tools.yml'
- '.github/workflows/docker.yml'
# Only run one at a time
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
################ TOOLS CONTAINER BUILDS ###########################
changes-tools:
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
tools: ${{ steps.filter.outputs.changes }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:

Check failure on line 46 in .github/workflows/tools.yml

View workflow run for this annotation

GitHub Actions / tools

Invalid workflow file

The workflow is not valid. .github/workflows/tools.yml (Line: 46, Col: 12): Unexpected value ''
# Only run when tool's directory or workflow files have changed
###############################################################
################## Add new tools here #########################
###############################################################
# filters: |
# colabdesign:
# - 'models/colabdesign/**'
# - '.github/workflows/tools.yml'
# - '.github/workflows/docker.yml'
# labsay:
# - 'models/labsay/**'
# - '.github/workflows/tools.yml'
# - '.github/workflows/docker.yml'
tools:
needs: changes-tools
if: ${{ needs.changes-tools.outputs.tools != '' && toJson(fromJson(needs.changes-tools.outputs.tools)) != '[]' }}
strategy:
fail-fast: false
matrix:
tools: "${{ fromJSON(needs.changes-tools.outputs.tools) }}"
uses: ./.github/workflows/docker.yml
with:
name: ${{ matrix.tools }}
context: tools/${{ matrix.tools }}
run-disk-space-cleanup: true
secrets: inherit