Skip to content

Commit f637d37

Browse files
committed
Fixes context access
1 parent 0cd4e7d commit f637d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/checkForHttpStatusCodesUpdate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const fetchHttpStatusCodesList = async () => {
5858
const issueTitleBase = 'IANA HTTP Status Code Update';
5959

6060
const searchForExistingGithubIssue = async ( { lastUpdatedDate, github, context } ) => {
61-
const query = [ issueTitleBase, lastUpdatedDate, 'in:title', `repo:${context.repo.full_name}`, 'type:issue' ].join( '+' );
61+
const query = [ issueTitleBase, lastUpdatedDate, 'in:title', `repo:${context.payload.repository.full_name}`, 'type:issue' ].join( '+' );
6262
const searchResult = await github.search.issuesAndPullRequests( {
6363
q: query,
6464
} );

0 commit comments

Comments
 (0)