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