From d73626419c091019616e47c93a5214ca7d710a1a Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Thu, 13 Jun 2024 10:08:40 -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 1df79fc64..092e7d4c3 100644 --- a/.github/scripts/domain-check.js +++ b/.github/scripts/domain-check.js @@ -23,8 +23,8 @@ function prFiles(github, context) { console.log("PR files: ", prFiles) return prFiles } -module.exports = ({context}) => { - return context.payload.client_payload.value +module.exports = ({github, context}) => { + return context.repo.owner; } /* module.exports = ({github, context}) => { diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 84f42b06f..5d83ebc5f 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({context}) + return domainCheck({github, context}) - name: Restore netlib from cache id: cache-lapack uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2