From 62b1a933d8b10009edc94d14aaaf8b3953bfc48d Mon Sep 17 00:00:00 2001 From: Scotty Bollinger Date: Tue, 28 May 2024 16:46:06 -0500 Subject: [PATCH] Update Docsmobile action to fix issues (#3935) --- .github/workflows/co-docs-builder.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/co-docs-builder.yml b/.github/workflows/co-docs-builder.yml index e37cdf4aca..47a3fdc4e5 100644 --- a/.github/workflows/co-docs-builder.yml +++ b/.github/workflows/co-docs-builder.yml @@ -20,7 +20,7 @@ on: jobs: publish: - if: contains(github.event.pull_request.labels.*.name, 'ci:doc-build') + if: github.event.label.name == 'ci:doc-build' || github.event.pull_request.author_association == 'MEMBER' uses: elastic/workflows/.github/workflows/docs-elastic-co-publish.yml@main with: subdirectory: 'docs/en/serverless/'