microsoft / mu_devops

Project Mu Developer Operations
https://microsoft.github.io/mu/
Other
26 stars 22 forks source link

Add a dependabot label and exclude it from release notes #177

Closed makubacki closed 1 year ago

makubacki commented 1 year ago

The release-drafter GitHub action has an exclude-contributors configuration option that excludes usernames from the final contributors. This does not appear to work for dependabot.

The exclude-labels configuration option does work. This change adds a new label type:dependabot to dependabot PRs (via the dependabot config file) and uses the exclude-labels option in the release-drafter config file to exclude those PRs from release notes.

Submodules are currently updated by either dependabot or the submodule-release-updater GitHub action local to mu_devops. Since submodules are recursive to repo consumers and to keep those consistently in the release notes, the type:dependabot label is not added to dependabot submodule updates keeping those updates in the release notes.

makubacki commented 1 year ago

@kuqin12 and @os-d in the course of testing this earlier I exceeded the GitHub GraphQL API limit and had to come back to it. After further testing, I decided to take a different approach. Please let me know if you have any concerns.

kuqin12 commented 1 year ago

@kuqin12 and @os-d in the course of testing this earlier I exceeded the GitHub GraphQL API limit and had to come back to it. After further testing, I decided to take a different approach. Please let me know if you have any concerns.

I think the new approach looks fine to me.