Skip to content

Bump dorny/paths-filter from 2.11.1 to 2.12.0 #2

Bump dorny/paths-filter from 2.11.1 to 2.12.0

Bump dorny/paths-filter from 2.11.1 to 2.12.0 #2

Workflow file for this run

---
name: Images
on:
pull_request:
branches:
- main
paths:
- images/**
permissions: {}
jobs:
detect-changes:
name: Detect Changes
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
images: ${{ steps.detect_changes.outputs.changes }}
steps:
- name: Checkout
id: checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Build path-filters file
id: build_path_filters
run: bash scripts/path-filter/configuration-generator.sh images
- name: Detect changes
id: detect_changes
uses: dorny/paths-filter@7267a8516b6f92bdb098633497bad573efdbf271 # v2.12.0
with:
filters: .github/path-filter/images.yml
build-and-test:
needs: [detect-changes]
if: ${{ needs.detect-changes.outputs.images != '[]' }}
name: Build and Test
runs-on: ubuntu-latest
steps:
strategy:
fail-fast: false
matrix:
image: ${{ fromJson(needs.detect-changes.outputs.images) }}
steps:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/images.yml

Invalid workflow file

You have an error in your yaml syntax on line 46
- name: Checkout
id: checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Build and Test
id: build_and_test
run: |
bash scripts/build-and-test.sh ${{ matrix.image }}