Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
…ocks into fix/update_dependabot_configuration
  • Loading branch information
gigitux committed Aug 4, 2022
2 parents 3c5e868 + 5ee0293 commit 9ddf7b3
Show file tree
Hide file tree
Showing 12 changed files with 345 additions and 404 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
add-reviews:
if: github.event.pull_request.draft == false && github.actor !== 'dependabot[bot]'
if: github.event.pull_request.draft == false && github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Check config and assign reviews
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -54,7 +54,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -68,4 +68,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion .github/workflows/generate-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: mv woocommerce-gutenberg-products-block.zip wc-blocks-pr-release__temp/woocommerce-gutenberg-products-block-${{ github.event.pull_request.number }}.zip

- name: Transfer ZIP file via SFTP
uses: AbleLincoln/push-to-sftp@v1.0
uses: AbleLincoln/push-to-sftp@v1.2
with:
host: ${{ secrets.FTP_HOST }}
port: 22
Expand Down
6 changes: 5 additions & 1 deletion assets/js/base/components/product-list/product-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,11 @@ const ProductList = ( {
) }
{ ! hasProducts && ! hasFilters && <NoProducts /> }
{ hasProducts && (
<ul className={ `${ parentClassName }__products` }>
<ul
className={ classnames( `${ parentClassName }__products`, {
'is-loading-products': productsLoading,
} ) }
>
{ listProducts.map( ( product = {}, i: number ) => (
<ProductListItem
key={ product.id || i }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ const SavedPaymentMethodOptions = () => {
id={ 'wc-payment-method-saved-tokens' }
selected={ activeSavedToken }
options={ options }
onChange={ () => void 0 }
/>
{ savedPaymentMethodHandler }
</>
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"wp-phpunit/wp-phpunit": "^6.0",
"woocommerce/woocommerce-sniffs": "0.1.0",
"yoast/phpunit-polyfills": "^1.0",
"johnbillion/wp-hooks-generator": "^0.7.0",
"johnbillion/wp-hooks-generator": "^0.9.0",
"mockery/mockery": "^1.4"
},
"autoload": {
Expand Down
Loading

0 comments on commit 9ddf7b3

Please sign in to comment.