Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/__issues-stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
// create a GitHub strategy matrix
let matrix = { "include": [] };
for (const repo of repos) {
matrix.include.push({ "repo": repo.name });
if (!repo.archived) {
matrix.include.push({ "repo": repo.name });
}
}
return matrix

Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/__update_license_years.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
// create a GitHub strategy matrix
let matrix = { "include": [] };
for (const repo of repos) {
matrix.include.push({ "repo": repo.name });
if (!repo.archived && !repo.fork) {
matrix.include.push({ "repo": repo.name });
}
}
return matrix

Expand All @@ -39,16 +41,26 @@ jobs:
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
max-parallel: 1 # run one at a time to attempt to avoid GitHub api rate limits
max-parallel: 5 # run only a few at a time to attempt to avoid GitHub api rate limits
steps:
- name: Checkout
uses: actions/checkout@v5
with:
repository: ${{ github.repository_owner }}/${{ matrix.repo }}
fetch-depth: 0
persist-credentials: false

- name: LICENSE exists
id: license-exists
shell: bash
run: |
license_exists=true
if [ ! -f LICENSE ]; then
license_exists=false
fi
echo "license_exists=${license_exists}" >> "${GITHUB_OUTPUT}"

- name: Update license year
if: steps.license-exists.outputs.license_exists == 'true'
uses: FantasticFiasco/action-update-license-year@v3
with:
commitAuthorEmail: ${{ secrets.GH_BOT_EMAIL }}
Expand Down