Skip to content

Commit 02025dc

Browse files
nataliethistimemheap
authored andcommitted
Ignore archived repositories fixes #18
1 parent 1d45693 commit 02025dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/get-repos.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@ module.exports = async function (args, octokit) {
3535
repos = repos.filter((repo) => !repo.fork);
3636
}
3737

38+
// Filter out archived repos as we cannot write to them
39+
repos = repos.filter((repo) => !repo.archived);
40+
3841
return repos.map((repo) => repo.full_name);
3942
};

0 commit comments

Comments
 (0)