<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/.github/scripts, branch dependabot/github_actions/actions/github-script-9</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fgithub-script-9</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fgithub-script-9'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2025-12-01T23:57:09+00:00</updated>
<entry>
<title>.github/scripts: Make reviewer filtering case insensitive</title>
<updated>2025-12-01T23:57:09+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2025-11-26T01:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=43e86ce5d5fcca1c4b6b45067ccd8a6cfab0e2b5'/>
<id>urn:sha1:43e86ce5d5fcca1c4b6b45067ccd8a6cfab0e2b5</id>
<content type='text'>
The `add_reviewers_to_pr()` function in GitHub.py did not compare
all usernames without case sensitivity which could cause a reviewer
that has already reviewed a pull request to be re-requested.

The occurred under the following conditions:

- GetMaintainer.py returns usernames from Maintainers.txt
  (e.g. "user")
- GitHub API returns usernames in their actual case (e.g. "User")
- The exclusion filter used case-sensitive comparison so the match
  is not detected

Fixed by converting the exclusion set to lowercase and performing
case-insensitive comparison when filtering for new reviewers.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>.github/workflows: Add PR formatting validator</title>
<updated>2025-10-01T23:46:51+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2025-08-06T21:11:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=edb5331f787519d1abbcf05563c7997453be2ef5'/>
<id>urn:sha1:edb5331f787519d1abbcf05563c7997453be2ef5</id>
<content type='text'>
This workflow runs when GitHub PRs are modified (edited, opened,
reopened, and synchronized) to perform basic validation of the PR
title and description.

Right now, this includes:

- Checking that the PR title is not empty
- Checking that the PR body is not empty
- Checking that the PR body meets the minimum text length.
  Where the minimum text length is defined to be the number of
  characters in the PR template with empty sections
- Checking that PR template placeholder do not remain in the PR
  description

If a check fails, a GitHub comment will be left on the PR and a PR
status check failure will be present on the PR until the issue is
resolved. Upon future runs of the workflow, existing PR validation
message contents are hashed and compared to a new message that may
potentially be posted. If the same comment is already posted in the
PR, it is not posted again.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>.github/GitHub.py: Add output and env helpers</title>
<updated>2025-10-01T23:46:51+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2025-09-26T14:58:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=bfbd5d70e858f24b900555d51de5d2b293e98b79'/>
<id>urn:sha1:bfbd5d70e858f24b900555d51de5d2b293e98b79</id>
<content type='text'>
Adds GitHub helper functions so other Python code can more cleanly
set output and environment variables.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>.github: Compare collaborator GitHub ID's in single case</title>
<updated>2025-05-13T12:44:57+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2025-05-12T19:08:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=607c58ef010c9952263f5e5e2553ece4dd2067bc'/>
<id>urn:sha1:607c58ef010c9952263f5e5e2553ece4dd2067bc</id>
<content type='text'>
Since case of a GitHub user name may by specified differently in the
`Maintainers.txt` file versus what is actually returned by the GitHub
API (actual case), convert both to lowercase for comparison.

Other GitHub user name inputs are directly from APIs and maintain
consistent casing.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>.github: Handle deleted GitHub accounts</title>
<updated>2024-11-26T18:08:26+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2024-11-25T17:24:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=a4c50dd3e89cb304a0861f8e93ff06b5d0f9861e'/>
<id>urn:sha1:a4c50dd3e89cb304a0861f8e93ff06b5d0f9861e</id>
<content type='text'>
If a GitHub account has been deleted entirely, a `None` user will
be returrned from the GitHub API. This change accounts for a `None`
user when querying GitHub APIs for user information.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>.github/GitHub.py: Update bot in redundant comment check</title>
<updated>2024-10-01T01:19:00+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2024-09-27T23:56:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=4f4673846fc9d6fc1c10a6c025da4739d872a6a0'/>
<id>urn:sha1:4f4673846fc9d6fc1c10a6c025da4739d872a6a0</id>
<content type='text'>
The project moved from using the `github-actions[bot]` bot account to
the `tianocore-assign-reviewers[bot]` account. A check is in place to
prevent the "`WARNING: Cannot add some reviewers`" from appearing
more than once if nothing has changed in the content it would post.

This change updates the bot account to the current one so the check
can work again.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>.github/request-reviews.yml: Move workflow Py code to file</title>
<updated>2024-08-05T19:30:26+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2024-08-02T19:35:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=51ada84cd57c5ef6c75a72aeb002226cf9180b21'/>
<id>urn:sha1:51ada84cd57c5ef6c75a72aeb002226cf9180b21</id>
<content type='text'>
To make the Python code used within the action more mantainable over
time, it is moved to a standalone script in .github/scripts.

No functional changes are made to the workflow itself.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>.github/request-reviews.yml: Formatting (non-functional)</title>
<updated>2024-08-05T19:30:26+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2024-07-31T23:06:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=59ad8aeda6352e5da12aaab08ede719ac3a832e5'/>
<id>urn:sha1:59ad8aeda6352e5da12aaab08ede719ac3a832e5</id>
<content type='text'>
Updates code for PEP8 formatting by using the Black code formatter.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>.github/request-reviews.yml: Improve doc and dbg messages</title>
<updated>2024-08-05T19:30:26+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2024-07-31T23:04:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=32a099c358b3d4b093f76b2d060bcb3154ac5c56'/>
<id>urn:sha1:32a099c358b3d4b093f76b2d060bcb3154ac5c56</id>
<content type='text'>
Adds additional documentation and cleans up debug messages printed
to GitHub workflow output (available in the GitHub Actions pane).

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>.github/request-reviews.yml: Only post non-collab message once</title>
<updated>2024-08-05T19:30:26+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2024-07-31T22:54:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f617b6ee0eb81853b50fd50ea71dd1b2ceb9b9a5'/>
<id>urn:sha1:f617b6ee0eb81853b50fd50ea71dd1b2ceb9b9a5</id>
<content type='text'>
Enhances the flow that adds a comment on a PR if a non-collaborator
is in the reviewer list by checking if a comment was previously left
on the PR. If it was for the same set of non-collaborators, another
comment is not created. If a new non-collaborator is discovered, the
message will be left identifying that new user account.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
</feed>
