From ab37ed70ae37910ff958f2327fe04627b0eebf2d Mon Sep 17 00:00:00 2001 From: Nick Gerleman Date: Tue, 12 Dec 2023 07:07:56 -0800 Subject: [PATCH] Add concurrency group for website publish (#1510) Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1510 Make each workflow acquire a shared mutex so that if two commits happen close to each other, the publish order must correspond to commit order. Reviewed By: cortinico Differential Revision: D52031970 fbshipit-source-id: 960cd8e8f79b26ab3d9c131e0637b795618d898e --- .github/workflows/publish-website.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish-website.yml b/.github/workflows/publish-website.yml index 390bc527..95932b55 100644 --- a/.github/workflows/publish-website.yml +++ b/.github/workflows/publish-website.yml @@ -6,6 +6,9 @@ on: - main workflow_dispatch: +concurrency: + group: ${{ github.workflow }} + jobs: publish: name: Publish to GitHub Pages