From a8db39487c452351982adb3383888ffe9faaa4a0 Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Thu, 13 Jun 2024 10:20:01 -0500 Subject: [PATCH] update --- .github/scripts/domain-check.js | 4 ++-- .github/workflows/pr.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/scripts/domain-check.js b/.github/scripts/domain-check.js index e70e01d15..ed5ddf30f 100644 --- a/.github/scripts/domain-check.js +++ b/.github/scripts/domain-check.js @@ -25,8 +25,8 @@ async function prFiles(github, context) { return prFiles; } -module.exports = async ({github, context}) => { - const domain = "blas"; +module.exports = async ({github, context, domain}) => { + //const domain = "blas"; const files = await prFiles(github, context); const match = matchesPattern(domain, files); console.log("domain: ", domain, " Match: ", match); diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 5d83ebc5f..807a53bed 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -46,7 +46,7 @@ jobs: with: script: | const domainCheck = require('.github/scripts/domain-check.js') - return domainCheck({github, context}) + return domainCheck({github, context, "${{ matrix.domain}}"}) - name: Restore netlib from cache id: cache-lapack uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2