{
  "id": 20179501,
  "title": "GitHub Actions paths and paths-ignore together on one event",
  "url": "https://urgent.news/2026/11/15/github-actions-paths-and-paths-ignore-together-on-one-event",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-15T13:46:21.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/kalemi/github-actions-paths-and-paths-ignore-together-on-one-event-36f"
  },
  "original_language": "en",
  "account": "GitHub Actions does not officially support using both the `paths` and `paths-ignore` filters in the same event. However, workflows that contain this combination still compile and run, but the outcome depends on an undocumented service process. The best practice is to avoid using both filters and instead choose one based on the desired outcome. To fix a workflow with conflicting filters, decide on a single intent, write a clear sentence describing that intent, and adjust the filter list accordingly. Place any exclusions after the positive patterns, quote patterns that include special characters, and test the filter with real pushes to ensure the desired behavior. There is no published enforcement for this rule, so the safest approach is to adhere to documented guidelines and test thoroughly.",
  "summary": "Writing GitHub Actions paths and paths-ignore together on one event is documented as unsupported, but no published component rejects it, so the file compiles and the workflow runs. What decides which of the two filters wins is a service GitHub does not publish, which is why the honest answer is to stop writing both rather than to learn the precedence. The published schema reaches the event…",
  "key_points": [
    "GitHub Actions doesn't officially support paths and paths-ignore together.",
    "Workflows with both filters compile and run, but outcome is undocumented.",
    "Best practice is to choose one filter for desired outcome, test thoroughly."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}