aspnet / Announcements

Subscribe to this repo to be notified about major changes in ASP.NET Core and Entity Framework Core
Other
1.66k stars 80 forks source link

Migrate FabricBot Tasks to Config-as-Code #489

Closed ghost closed 2 years ago

ghost commented 2 years ago

TL;DR; Requesting to add FabricBot configuration associated with your repository to .github/fabricbot.json.

Context

FabricBot is now a config-as-code-only platform. As a result, while you can still use the FabricBot Configuration Portal to modify your FabricBot configuration, you can no longer save the changes. The only way to save changes to your configuration at the moment is to export configuration from the portal and upload the exported configuration to .github/fabricbot.json in your repository. In this pull request, we are adding your FabricBot configuration to your repository at .github/fabricbot.json so that you can make changes to it going forward.

While the FabricBot Configuration Portal is the only way to modify your FabricBot configuration at the moment, we have a feature on our backlog to publish the JSON schema defining the structure of the FabricBot configuration file. With the JSON schema, you can (1) use a plaintext editor of your choice to modify the FabricBot configuration file and use the schema to validate the file after editing or (2) configure VS Code to use the schema when editing FabricBot configuration file to take advantage of convenience features such as automatic code completion and field description on mouseover.

Pull Request Create, a MerlinBot Extension, was used to automatically create this pull request. If you have any questions or concerns with this pull request, please contact MerlinBot Expert DRI.

Eilon commented 2 years ago

This is great for allowing versioning and code reviews of the rules, as well as reverting them if they are not working as expected.