From f68b17b6d9647484e799176437cc103c6985e890 Mon Sep 17 00:00:00 2001 From: mmilunicmobile Date: Fri, 10 Jan 2025 15:06:55 -0500 Subject: [PATCH] Added concurrency protections --- .github/workflows/statistics.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/statistics.yml b/.github/workflows/statistics.yml index b0750a6b..716c2728 100644 --- a/.github/workflows/statistics.yml +++ b/.github/workflows/statistics.yml @@ -2,14 +2,17 @@ name: Statistics Tracker on: push + workflow_call permissions: pages: write id-token: write jobs: - build: + concurrency: + group: statistics-deploy + cancel-in-progress: true if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest defaults: @@ -41,6 +44,9 @@ jobs: FRC2593/javabot-2025/.github/workflows/statistics.yml@main deploy: + concurrency: + group: statistics-deploy + cancel-in-progress: true environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}