nunit / docs

Documentation for all active NUnit projects
https://docs.nunit.org
MIT License
601 stars 155 forks source link

Use RenovateBot to update the API framework reference #941

Closed SeanKilleen closed 4 months ago

SeanKilleen commented 4 months ago

We can use a custom manager like I recently did in https://github.com/nunit/docfx-action/pull/57 to ensure there's a PR automatically created to update against the latest NUnit API docs.

SeanKilleen commented 4 months ago

OK, on the last PR, I think I adapted it incorrectly. The regex for the fileMatch is written for a top-level file, which of course the build-process.yml file is not. So I'm going to do a PR to update the regex.

SeanKilleen commented 4 months ago

Welp -- it would help if I used the right path syntax. Working in public is not at all embarrassing 😅

SeanKilleen commented 4 months ago

There we go 🎉 I see the PR has just been created and is working as expected.

SeanKilleen commented 4 months ago

I spoke too soon -- the PR is created and the text replacement is correct, but it's looking for a tag in NUnit of v4.1.0 instead of 4.1.0. -- I'll have to see if there's something else I can tweak. Will close this again if that ends up being doable within the suggestion PR itself.

SeanKilleen commented 4 months ago

The build for #955 failed, but that's because the NUnit versions no longer appear to have tags starting with v, so I had to update that as well. Once I did, it passed exactly as I'd hoped.

So, going to once again close this. 👍