dotnet / docs-tools

This repo contains GitHub Actions and other tools that are designed to be invoked on DocFx repositories.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ignore what's new

Youssef1313 opened this issue · comments

Hi @Youssef1313

We should add an ignore rule that keys on the "What's new" config file... any deletions in this folders should be allow-listed.

See the false negative here: https://github.com/dotnet/docs/pull/24937/checks?check_run_id=2963505022

You might want to read / check for a .whatnews.json file at the repo root. If it's there, any deletions without redirect that are part of that folder should be ignored. See https://github.com/dotnet/docs/blob/main/.whatsnew.json#L9-L15

Originally posted by @IEvangelist in dotnet/docs#24937 (comment)