Skip to content

Commit 9fef524

Browse files
authored
Move to a version of this that works with a cron (#16830)
Move to a version of this that works with a cron Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
1 parent 64d3846 commit 9fef524

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/repo-sync-stalls.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
2323
script: |
2424
let pulls;
25-
const owner = context.payload.repository.owner.login
26-
const repo = context.payload.repository.name
25+
const owner = context.repo.owner
26+
const repo = context.repo.repo
2727
try {
2828
pulls = await github.pulls.list({
2929
owner: owner,

0 commit comments

Comments
 (0)