mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-10 23:49:09 +02: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}...`);
|
console.log(`Fetching up to ${maxIssues} open issues from ${repo}...`);
|
||||||
|
|
||||||
const issues = await paginate(
|
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
|
maxIssues
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
PROJECT_PAT: ${{ secrets.PROJECT_PAT }}
|
PROJECT_PAT: ${{ secrets.PROJECT_PAT }}
|
||||||
DRY_RUN: "true"
|
DRY_RUN: "true"
|
||||||
MAX_ISSUES: "10"
|
MAX_ISSUES: "100"
|
||||||
REPO: ${{ github.repository }}
|
REPO: ${{ github.repository }}
|
||||||
PROJECT_ID: "PVT_kwDOBfz4Jc4BVeWR"
|
PROJECT_ID: "PVT_kwDOBfz4Jc4BVeWR"
|
||||||
PROJECT_STATUS_FIELD_ID: "PVTSSF_lADOBfz4Jc4BVeWRzhQ56sU"
|
PROJECT_STATUS_FIELD_ID: "PVTSSF_lADOBfz4Jc4BVeWRzhQ56sU"
|
||||||
|
|||||||
Reference in New Issue
Block a user