Skip to content

Commit

Permalink
Increase PR limit (#326)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Irev-Dev and github-actions[bot] authored Aug 26, 2024
1 parent 0b28390 commit 8c877d5
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ on:
paths-ignore:
- '**.md'
workflow_dispatch:

permissions:
contents: write
pull-requests: write
actions: read

jobs:
check-dist:
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/weekly-contributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ on:
- dist/weekly-contributions/**.js
- .github/workflows/weekly-contributions.yml
- weekly-contributions/action.yml

permissions:
contents: write
pull-requests: write
actions: read

jobs:
weekly-contributions-test:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions dist/weekly-contributions/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/weekly-contributions/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/weekly-contributions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ function makeInnerPRQuery(repoName: string) {
${repoName
.replaceAll('.', '')
.replaceAll('-', '')}: repository(name: "${repoName}" owner: "kittycad") {
pullRequests(first: 50, orderBy: {direction: DESC, field: UPDATED_AT}) {
pullRequests(first: 100, orderBy: {direction: DESC, field: UPDATED_AT}) {
nodes {
repository {
name
Expand Down Expand Up @@ -556,7 +556,7 @@ function makeInnerIssueQuery(repoName: string) {
${repoName
.replaceAll('.', '')
.replaceAll('-', '')}: repository(name: "${repoName}" owner: "kittycad") {
issues(first: 50 orderBy: {direction: DESC, field: UPDATED_AT}) {
issues(first: 100 orderBy: {direction: DESC, field: UPDATED_AT}) {
nodes {
number
title
Expand Down

0 comments on commit 8c877d5

Please sign in to comment.