From 342b558f5904ebe80d3699917a5bd9d63aaa5fde Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sun, 25 Feb 2024 18:21:20 +0100 Subject: [PATCH] self-hosted-arm64-runners: GitForWindowsHelper is supposed to be allowed... Signed-off-by: Johannes Schindelin --- GitForWindowsHelper/self-hosted-arm64-runners.js | 1 + 1 file changed, 1 insertion(+) diff --git a/GitForWindowsHelper/self-hosted-arm64-runners.js b/GitForWindowsHelper/self-hosted-arm64-runners.js index 36c4f19..1cbc70d 100644 --- a/GitForWindowsHelper/self-hosted-arm64-runners.js +++ b/GitForWindowsHelper/self-hosted-arm64-runners.js @@ -18,6 +18,7 @@ module.exports = async (context, req) => { })() const isAllowed = async (login) => { + if (login === 'gitforwindowshelper[bot]') return true const getCollaboratorPermissions = require('./get-collaborator-permissions') const token = await getToken() const permission = await getCollaboratorPermissions(context, token, owner, repo, login)