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