Skip to content

Commit

Permalink
Merge pull request #75 from git-for-windows/add-git-sdk-arm64-repo-se…
Browse files Browse the repository at this point in the history
…lf-hosted-runners

self-hosted-arm64-runners: enable on git-sdk-arm64 repo too
  • Loading branch information
dscho authored Apr 30, 2024
2 parents 3c89c37 + 8267763 commit c176add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitForWindowsHelper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = async function (context, req) {
try {
const selfHostedARM64Runners = require('./self-hosted-arm64-runners')
if (req.headers['x-github-event'] === 'workflow_job'
&& req.body.repository.full_name === 'git-for-windows/git-for-windows-automation'
&& ['git-for-windows/git-for-windows-automation', 'git-for-windows/git-sdk-arm64'].includes(req.body.repository.full_name)
&& ['queued', 'completed'].includes(req.body.action)
&& req.body.workflow_job.labels.length === 2
&& req.body.workflow_job.labels[0] === 'Windows'
Expand Down

0 comments on commit c176add

Please sign in to comment.