Skip to content

Commit

Permalink
mass-rebuild-reporter: Only search for issues in the current repsitory
Browse files Browse the repository at this point in the history
When looking for the previous issue filed for a mass rebuild, we were
searching through repositories in all of GitHub instead of just
fedora-llvm-team/llvm-snapshots.  This meant that issues filed in forks
would prevent the mass rebuild reporter from filing and issue in the
main repository.
  • Loading branch information
tstellar committed Jan 10, 2025
1 parent 0cb2b0d commit 4ffae81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mass-rebuild-reporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
result-encoding: string
script: |
const issues = await github.rest.search.issuesAndPullRequests({
q: "label:mass-rebuild+is:issue",
q: "repo:" + process.env.GITHUB_REPOSITORY + "+label:mass-rebuild+is:issue",
sort: "created",
order: "desc",
per_page: 1
Expand Down

0 comments on commit 4ffae81

Please sign in to comment.