Skip to content

Commit

Permalink
trying to check any_changed value
Browse files Browse the repository at this point in the history
  • Loading branch information
faisal-alvi committed Sep 13, 2023
1 parent 2305ea7 commit 07ccbae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
uses: tj-actions/changed-files@v35

- name: Install dependencies
# if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
run: composer install

- name: Run PHP_CodeSniffer
- name: Run PHP_CodeSniffer - any_changed = ${{ steps.changed-files.outputs.any_changed }}
if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
run: ./vendor/bin/phpcs ${{ steps.changed-files.outputs.all_changed_files }}
2 changes: 1 addition & 1 deletion includes/class-wc-accommodation-dependencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class_exists( 'WC_Bookings' )
/**
* Returns true if bookings is greater than a specific version and false if not
*
* @param string $verson The version to check against
* @param string $verson The version to check against
* @return boolean
*/
private static function is_bookings_above_or_equal_to_version( $version ) {
Expand Down

0 comments on commit 07ccbae

Please sign in to comment.