scratchfoundation / scratchfoundation/scratch-editor

`dorny/paths-filter` seems abandoned

Open
#380 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
JavaScript
Stars
281
Forks
276
Avg merge
7d 8h
Merged PRs (30d)
6

Description

The dorny/paths-filter action hasn't been updated in about 20 months, and more specifically, it doesn't work correctly with merge queues. This leads to GHA failures when PRs are merged, regardless of whether the build would succeed otherwise. These failures are bad for at least two reasons: they're incorrect in some (hopefully most) cases, and they train us to ignore failures.

I've turned off merge queues for now, but we should probably replace dorny/paths-filter with another package or our own git diff-based logic.

This one looks promising:
https://github.com/tj-actions/changed-files

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository's GitHub Actions workflows for dorny/paths-filter and inspect how its merge-queue paths are evaluated. Compare tj-actions/changed-files with a git diff-based approach, then verify that merge queues no longer produce incorrect build failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github-actions
Domain
ci-cd
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.