Skip to content

Commit

Permalink
chore(ci): drop JS braces in conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Jan 28, 2025
1 parent 6316b3d commit fa38862
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/pr-closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
# Clean up OpenShift when PR closed, no conditions
cleanup-openshift:
name: Cleanup OpenShift
if: "!github.event.pull_request.head.repo.fork"
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ runs:
# Process variables and inputs
# Remote/override repo is required if one has been specified (input)
- name: Checkout remote/override repo
if: ${{ github.repository }} != ${{ inputs.repository }}
if: github.repository != inputs.repository
uses: actions/checkout@v4
with:
repository: ${{ inputs.repository }}
Expand Down Expand Up @@ -240,5 +240,5 @@ runs:
# Action repo needs to be present for cleanup/tests
- name: Checkout local repo to make sure action.yml is present
if: ${{ github.repository }} != ${{ inputs.repository }}
if: github.repository != inputs.repository
uses: actions/checkout@v4

0 comments on commit fa38862

Please sign in to comment.