diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2444f0b..29f4e4c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 3b5de45..5e33cc2 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -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