Skip to content

Commit

Permalink
Merge pull request #179494 from ZhongRuoyu/better-input-handling
Browse files Browse the repository at this point in the history
workflows: input handling improvements
  • Loading branch information
krehel authored Jul 13, 2024
2 parents b987821 + 7552c70 commit 269322f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,5 @@ jobs:
squash-commit-message: '\n'
do-not-merge-labels: automerge-skip,do not merge
required-labels: bump-cask-pr
pull-request: ${{ github.event.inputs.pull-request }}
pull-request-author-associations: MEMBER,OWNER
review: ${{ github.event.inputs.review }}
review-author-associations: MEMBER,OWNER
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
run: |
if [[ "${GITHUB_EVENT_NAME}" == "workflow_dispatch" ]]
then
brew ruby -- "$(brew --repository homebrew/cask)/cmd/lib/generate-matrix.rb" ${{ github.event.inputs.skip_install && '--skip-install' }} ${{ github.event.inputs.new_cask && '--new' }} --casks=${{ github.event.inputs.casks }}
brew ruby -- "$(brew --repository homebrew/cask)/cmd/lib/generate-matrix.rb" ${{ github.event.inputs.skip_install && '--skip-install' }} ${{ github.event.inputs.new_cask && '--new' }} --casks="$INPUT_CASKS"
elif [[ "${GITHUB_EVENT_NAME}" == "push" ]]
then
brew ruby -- "$(brew --repository homebrew/cask)/cmd/lib/generate-matrix.rb" --syntax-only
Expand Down Expand Up @@ -126,7 +126,6 @@ jobs:
! sudo pkgutil --forget com.xamarin.mono-MDK.pkg; then
echo '::warning::Uninstalling Mono is no longer necessary.'
fi
- name: Cache Homebrew Gems
id: cache
Expand Down

0 comments on commit 269322f

Please sign in to comment.