π OpenHands: AI-Driven Development
fix: Only run one deploy docs workflow at a time. Add comments (#3398)
mamoodi5dab07094d38
diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.ymlindex b4ed558a0c..dddd97a4bb 100644--- a/.github/workflows/deploy-docs.yml+++ b/.github/workflows/deploy-docs.yml@@ -1,6 +1,12 @@# Workflow that builds and deploys the documentation websitename: 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:diff --git a/.github/workflows/dummy-agent-test.yml b/.github/workflows/dummy-agent-test.ymlindex 6cf4d5900c..4633837f50 100644--- a/.github/workflows/dummy-agent-test.yml+++ b/.github/workflows/dummy-agent-test.yml@@ -1,6 +1,8 @@# Workflow that uses the DummyAgent to run a simple taskname: 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' }}diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.ymlindex 66270d3a0e..bcade7cadc 100644--- a/.github/workflows/ghcr.yml+++ b/.github/workflows/ghcr.yml@@ -1,6 +1,8 @@# Workflow that builds, tests and then pushes the docker images to the ghcr.io repositoryname: 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' }}diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex 98d905c6c3..37676fdede 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -1,6 +1,8 @@# Workflow that runs lint on the frontend and python codename: 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' }}diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.ymlindex fd3b9c23e0..fb309c2749 100644--- a/.github/workflows/run-unit-tests.yml+++ b/.github/workflows/run-unit-tests.yml@@ -1,6 +1,8 @@# Workflow that runs frontend and python unit testsname: 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' }}