mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-01 22:56:41 +00:00
feat(ci): sort by oldest updated and bump MAX_ISSUES to 100
This commit is contained in:
@@ -39,7 +39,7 @@ async function paginate(url, max) {
|
||||
console.log(`Fetching up to ${maxIssues} open issues from ${repo}...`);
|
||||
|
||||
const issues = await paginate(
|
||||
`https://api.github.com/repos/${repo}/issues?state=open&sort=updated&direction=desc`,
|
||||
`https://api.github.com/repos/${repo}/issues?state=open&sort=updated&direction=asc`,
|
||||
maxIssues
|
||||
);
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
PROJECT_PAT: ${{ secrets.PROJECT_PAT }}
|
||||
DRY_RUN: "true"
|
||||
MAX_ISSUES: "10"
|
||||
MAX_ISSUES: "100"
|
||||
REPO: ${{ github.repository }}
|
||||
PROJECT_ID: "PVT_kwDOBfz4Jc4BVeWR"
|
||||
PROJECT_STATUS_FIELD_ID: "PVTSSF_lADOBfz4Jc4BVeWRzhQ56sU"
|
||||
|
||||
Reference in New Issue
Block a user