Skip to content

Commit

Permalink
chore(ci): remove JS handling from workflow conditionals (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Jan 29, 2025
1 parent 5aa9400 commit 0319ab8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ jobs:
echo "No triggers have fired, deployment skipped"
- uses: redhat-actions/openshift-tools-installer@v1
if: ${{ steps.triggers.outputs.triggered == 'true' }}
if: steps.triggers.outputs.triggered == 'true'
with:
oc: "4"

- name: Deploy if Triggers Fired
if: ${{ steps.triggers.outputs.triggered == 'true' }}
if: steps.triggers.outputs.triggered == 'true'
working-directory: ${{ inputs.directory }}
shell: bash
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:
jobs:
tests:
name: Tests
if: ${{ ! github.event.pull_request.draft }}
if: (! github.event.pull_request.draft)
runs-on: ubuntu-24.04
timeout-minutes: 5
services:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
# https://github.com/marketplace/actions/aqua-security-trivy
trivy:
name: Trivy Security Scan
if: ${{ ! github.event.pull_request.draft }}
if: (! github.event.pull_request.draft)
needs: [tests]
runs-on: ubuntu-24.04
timeout-minutes: 1
Expand Down

0 comments on commit 0319ab8

Please sign in to comment.