Skip to content

Commit 92b84bb

Browse files
committed
dont encode query
1 parent e68c419 commit 92b84bb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/missing-documentation-reminder.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,14 @@ jobs:
2525
id: find-prs
2626
with:
2727
script: |
28-
const repo = context.repo;
29-
const repo_scope = `${repo.owner}/${repo.repo}`;
3028
31-
const query = `repo:${repo_scope} bevy`;
29+
const query = `repo:${{ github.repository }} bevy`;
3230
const encodedQuery = encodeURIComponent(query);
3331
3432
console.log(encodedQuery);
3533
3634
const { data: { items: pullRequests } } = await github.rest.search.issuesAndPullRequests({
37-
q: encodedQuery,
35+
q: query,
3836
per_page: 1
3937
});
4038

0 commit comments

Comments
 (0)