qusal/.github/workflows/cron.yaml
2024-05-29 19:39:26 +02:00

28 lines
615 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-expiration.sh $(find -type f -name "*.asc")