Skip to content

Commit

Permalink
trying out some conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
thetoolsmith committed Jan 2, 2025
1 parent 3ec707d commit eaf545b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success' || github.ref == 'refs/heads/main'
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
#if: github.event.workflow_run.conclusion == 'success'
steps:
- name: 'Checkout GitHub Action'
id: checkout
Expand Down

0 comments on commit eaf545b

Please sign in to comment.