Skip to content

Commit 57ec7de

Browse files
committed
self-hosted-arm64-runners: use async correctly
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent c5ebb1c commit 57ec7de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GitForWindowsHelper/self-hosted-arm64-runners.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = async (context, req) => {
2424
return ['ADMIN', 'MAINTAIN', 'WRITE'].includes(permission.toString())
2525
}
2626

27-
if (!isAllowed(sender)) {
27+
if (!await isAllowed(sender)) {
2828
if (action !== 'completed') {
2929
// Cancel workflow run
3030
const { cancelWorkflowRun } = require('./check-runs')

0 commit comments

Comments
 (0)