mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-14 10:24:33 -05:00
04d1aaf63e
- Find PGP keys using the same methods as other scripts; - Lower threshold to 30 days by default; - Add environment variable to set threshold; - Add colors to distinguish expired from expires soon; and - Add days until key expiration when it is below threshold.
28 lines
579 B
YAML
28 lines
579 B
YAML
# SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
---
|
|
name: Cron
|
|
|
|
# yamllint disable-line rule:truthy
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 1,15 * *"
|
|
|
|
concurrency:
|
|
group: ci-${{ github.ref }}-10
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
pgp-expiration-check:
|
|
strategy:
|
|
fail-fast: false
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Discover keys that are expired or close to expiration date
|
|
run: scripts/pgp-lint.sh
|