fix: Only run one deploy docs workflow at a time. Add comments (#3398)

This commit is contained in:
mamoodi
2024-08-14 21:30:57 -04:00
committed by GitHub
parent 50b1256c49
commit 5dab07094d
5 changed files with 14 additions and 0 deletions

View File

@@ -1,6 +1,12 @@
# Workflow that builds and deploys the documentation website
name: Deploy Docs to GitHub Pages
# Only run one workflow of the same group at a time.
# There can be at most one running and one pending job in a concurrency group at any time.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
on:
push:
branches:

View File

@@ -1,6 +1,8 @@
# Workflow that uses the DummyAgent to run a simple task
name: Run E2E test with dummy agent
# Only run one workflow of the same group at a time.
# There can be at most one running and one pending job in a concurrency group at any time.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

View File

@@ -1,6 +1,8 @@
# Workflow that builds, tests and then pushes the docker images to the ghcr.io repository
name: Build Publish and Test Runtime Image
# Only run one workflow of the same group at a time.
# There can be at most one running and one pending job in a concurrency group at any time.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

View File

@@ -1,6 +1,8 @@
# Workflow that runs lint on the frontend and python code
name: Lint
# Only run one workflow of the same group at a time.
# There can be at most one running and one pending job in a concurrency group at any time.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

View File

@@ -1,6 +1,8 @@
# Workflow that runs frontend and python unit tests
name: Run Unit Tests
# Only run one workflow of the same group at a time.
# There can be at most one running and one pending job in a concurrency group at any time.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}