Skip to content

Commit

Permalink
workflows/vendor-gem: simplify condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongRuoyu committed Jul 14, 2024
1 parent 652eafc commit 41c43dc
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/vendor-gems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,7 @@ permissions:

jobs:
vendor-gems:
if: >
github.repository_owner == 'Homebrew' && (
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request' ||
github.event_name == 'push' || (
github.event.pull_request.user.login == 'dependabot[bot]' &&
contains(github.event.pull_request.title, '/Library/Homebrew')
)
)
if: github.repository_owner == 'Homebrew'
runs-on: macos-14
steps:
- name: Set up Homebrew
Expand Down

0 comments on commit 41c43dc

Please sign in to comment.