Skip to content

Commit

Permalink
fix: do not need to explicitly test for true
Browse files Browse the repository at this point in the history
  • Loading branch information
dgschwindturo committed Dec 22, 2022
1 parent 7c68aa7 commit e8563e6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions lint/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
if: inputs.checkout-repo == 'true'
- name: Checkout
uses: actions/checkout@v3
if: inputs.checkout-repo
with:
fetch-depth: 0
- uses: open-turo/action-pre-commit@v1
- Name: Pre-commit

This comment has been minimized.

Copy link
@rrogers-turo
uses: open-turo/action-pre-commit@v1
env:
ORG_GRADLE_PROJECT_artifactoryUsername: ${{ inputs.artifactory-username }}
ORG_GRADLE_PROJECT_artifactoryAuthToken: ${{ inputs.artifactory-auth-token }}
2 changes: 1 addition & 1 deletion release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ runs:
steps:
- name: Checkout
uses: actions/checkout@v3
if: inputs.checkout-repo == 'true'
if: inputs.checkout-repo
with:
fetch-depth: 0
- name: Setup tools
Expand Down
2 changes: 1 addition & 1 deletion test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
steps:
- name: Checkout
uses: actions/checkout@v3
if: inputs.checkout-repo == 'true'
if: inputs.checkout-repo
- name: Setup tools
uses: open-turo/action-setup-tools@v1
- name: Test
Expand Down

0 comments on commit e8563e6

Please sign in to comment.