ci: run one at a time

This commit is contained in:
Jared Allard 2024-02-19 17:03:26 -08:00
parent 0cfbb03103
commit e5b49b6a71
Signed by: jaredallard
SSH key fingerprint: SHA256:wyRyyv28jBYw8Yp/oABNPUYvbGd6hyZj23XVXEm5G/U
2 changed files with 8 additions and 0 deletions

View file

@ -8,6 +8,10 @@ on:
branches:
- "main"
# Ensure we run only one job at a time.
concurrency:
group: "elint-${{ github.repository }}-${{ github.ref }}"
jobs:
elint:
runs-on: ubuntu-latest

View file

@ -10,6 +10,10 @@ on:
# Run every day at midnight, https://crontab.guru/#@daily.
- cron: "0 0 * * *"
# Ensure updates only run once at a time.
concurrency:
group: "updater-${{ github.repository }}-${{ github.ref }}"
jobs:
updater:
runs-on: ubuntu-latest