diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68881db..10136d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,17 @@ name: Test and build on: - pull_request: push: - branches: - - master + branches: ["main"] + pull_request: + branches: ["main"] + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: test: