From e035f1fca3eb8f51c5c7cffaf1c1809b2bc9482f Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 9 Apr 2025 15:26:22 +0000 Subject: [PATCH] chore: beef up CI --- .../workflows/{validate-readme-files.yaml => ci.yaml} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) rename .github/workflows/{validate-readme-files.yaml => ci.yaml} (66%) diff --git a/.github/workflows/validate-readme-files.yaml b/.github/workflows/ci.yaml similarity index 66% rename from .github/workflows/validate-readme-files.yaml rename to .github/workflows/ci.yaml index ed6c22d1..4c1a7d6b 100644 --- a/.github/workflows/validate-readme-files.yaml +++ b/.github/workflows/ci.yaml @@ -1,8 +1,11 @@ -name: Validate README files +name: CI on: pull_request: - branches: - - main + branches: [main] +# Cancel in-progress runs for pull requests when developers push new changes +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: validate-contributors: runs-on: ubuntu-latest