Skip to content

Commit 0896eab

Browse files
committed
finalize-g4w-release: GitForWindowsHelper should be allowed implicitly
The GitForWindowsHelper GitHub App is not a member of the Git for Windows organization per se, but it should be allowed to be the sender (i.e. the account that triggered the workflow run) that implicitly closes the `git-for-windows/git` PR corresponding to the just-released Git for Windows version. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent eb71f5c commit 0896eab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

GitForWindowsHelper/finalize-g4w-release.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ module.exports = async (context, req) => {
2121
})()
2222

2323
const isAllowed = async (login) => {
24+
if (login === 'gitforwindowshelper[bot]') return true
2425
const getCollaboratorPermissions = require('./get-collaborator-permissions')
2526
const token = await getToken()
2627
const permission = await getCollaboratorPermissions(context, token, owner, repo, login)

0 commit comments

Comments
 (0)