Closed p-linnane closed 7 months ago
This will only work when run in Homebrew repositories, but this action is also used in third-party repositories to send PRs to us.
I can try to add a conditional to check for it being one of our taps? And fall back to the current behavior?
Yeah, a $GITHUB_REPOSITORY_OWNER == Homebrew
check might work
We use if: github.repository_owner == 'Homebrew'
in several other workflows, so I used that.
Happy to try and figure out a better way of handling the syntax. It'd be nice if there was an else
for Actions.
Now with 50% less copy + paste thanks to Bo & GitHub Copilot 😆
Unfortunately this isn't working: https://github.com/Homebrew/homebrew-cask/actions/runs/8040369308. Will debug now.
This PR switches the behavior of the
bump-packages
Action to use the new--no-fork
switch added in https://github.com/Homebrew/brew/pull/16740. As I called out in that PR:Since the repo's branches get deleted after merging, this will save us the headache of cleaning up BrewTestBot's forks and allow us to see the branches more easily so they can be prioritized.