Skip to content

filter-files CI hardcodes 2025 in slug template #7

Description

@andylizf

Problem

The filter-files workflow fails on all PRs with 2026-dated posts because bin/filterpaths.py hardcodes the year in the slug template:

SLUG_TEMPLATE = "2025-\d\d-\d\d-.+"

This rejects any post file named 2026-*, such as 2026-02-10-evaluation.md.

Affected PRs

Suggested fix

Replace the hardcoded year with a wildcard:

SLUG_TEMPLATE = "\d{4}-\d\d-\d\d-.+"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions