Skip to content

Commit

Permalink
workflows/publish-commit-bottles: fix org fork comment
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
carlocab committed Sep 27, 2024
1 parent c6fefa5 commit 8eb4f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-commit-bottles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
[[ "$bottles" = "false" ]]
then
exit 0
elif "$pushable"
elif "$pushable" || [[ "$fork_type" = "Organization" ]]
then
MESSAGE="$ORG_FORK_MESSAGE"
else
Expand Down

0 comments on commit 8eb4f8b

Please sign in to comment.