From 8eb4f8bcac924d9caef1e1088a48955f4afbcd9d Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Sat, 28 Sep 2024 05:47:09 +0800 Subject: [PATCH] workflows/publish-commit-bottles: fix org fork comment It looks like GitHub finally sets `maintainer_can_modify` to `false` for org forks, so we've been mistakenly been showing the wrong message to PRs from org forks. See #192146 for an example. Let's fix that. --- .github/workflows/publish-commit-bottles.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-commit-bottles.yml b/.github/workflows/publish-commit-bottles.yml index daf8f79b5c8b..e4c2195ffabf 100644 --- a/.github/workflows/publish-commit-bottles.yml +++ b/.github/workflows/publish-commit-bottles.yml @@ -173,7 +173,7 @@ jobs: [[ "$bottles" = "false" ]] then exit 0 - elif "$pushable" + elif "$pushable" || [[ "$fork_type" = "Organization" ]] then MESSAGE="$ORG_FORK_MESSAGE" else