Skip to content

Commit 8267763

Browse files
committed
self-hosted-arm64-runners: enable on git-sdk-arm64 repo too
The `sync` job in said repo currently runs on x64 runners, which is problematic in case post-install scripts need to run. Let's support ARM64 self-hosted runners on that repo too. Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
1 parent 3c89c37 commit 8267763

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GitForWindowsHelper/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = async function (context, req) {
3939
try {
4040
const selfHostedARM64Runners = require('./self-hosted-arm64-runners')
4141
if (req.headers['x-github-event'] === 'workflow_job'
42-
&& req.body.repository.full_name === 'git-for-windows/git-for-windows-automation'
42+
&& ['git-for-windows/git-for-windows-automation', 'git-for-windows/git-sdk-arm64'].includes(req.body.repository.full_name)
4343
&& ['queued', 'completed'].includes(req.body.action)
4444
&& req.body.workflow_job.labels.length === 2
4545
&& req.body.workflow_job.labels[0] === 'Windows'

0 commit comments

Comments
 (0)