File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 // create a GitHub strategy matrix
3333 let matrix = { "include": [] };
3434 for (const repo of repos) {
35- matrix.include.push({ "repo": repo.name });
35+ if (!repo.archived) {
36+ matrix.include.push({ "repo": repo.name });
37+ }
3638 }
3739 return matrix
3840
Original file line number Diff line number Diff line change 2828 // create a GitHub strategy matrix
2929 let matrix = { "include": [] };
3030 for (const repo of repos) {
31- matrix.include.push({ "repo": repo.name });
31+ if (!repo.archived && !repo.fork) {
32+ matrix.include.push({ "repo": repo.name });
33+ }
3234 }
3335 return matrix
3436
@@ -39,14 +41,13 @@ jobs:
3941 strategy :
4042 fail-fast : false
4143 matrix : ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
42- max-parallel : 1 # run one at a time to attempt to avoid GitHub api rate limits
44+ max-parallel : 5 # run only a few at a time to attempt to avoid GitHub api rate limits
4345 steps :
4446 - name : Checkout
4547 uses : actions/checkout@v5
4648 with :
4749 repository : ${{ github.repository_owner }}/${{ matrix.repo }}
4850 fetch-depth : 0
49- persist-credentials : false
5051
5152 - name : Update license year
5253 uses : FantasticFiasco/action-update-license-year@v3
You can’t perform that action at this time.
0 commit comments