Skip to content

Commit

Permalink
Updated publish conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
roryprimrose committed Jul 26, 2024
1 parent 0768317 commit cfb955e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ jobs:
needs: build
runs-on: ubuntu-latest
# Only run on pushes which should only be on the base repository
if: github.event_name == 'push' && github.actor != 'dependabot[bot]'

if: (github.event_name == 'push' || github.event_name == 'pull_request') && github.actor != 'dependabot[bot]'
steps:

- name: Resolve project name
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
# Only run on pushes which should only be on the base repository and only where the branch is main or is a version tagged build
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) && github.actor != 'dependabot[bot]'
if: (github.event_name == 'push' || github.event_name == 'pull_request') && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) && github.actor != 'dependabot[bot]'

steps:

Expand Down

0 comments on commit cfb955e

Please sign in to comment.