Skip to content

eBPF-based security platform

ci: let a render of main finish so the documentation deploys

Martynas Pumputiscf1e6358db46
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 7b59c7c4..a005973d 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -15,10 +15,11 @@ permissions:
jobs:
docs:
runs-on: ubuntu-latest
- # A newer run for the same branch or pull request supersedes this one.
+ # A newer run for the same pull request supersedes this one. On main a
+ # render in flight finishes, so a busy main still deploys.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
- cancel-in-progress: true
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
steps:
- name: Check out repository