Skip to content

Commit

Permalink
ci: improving if to match also schedule and workflow_dispatch (#3223)
Browse files Browse the repository at this point in the history
* ci: improving if to match also schedule and workflow_dispatch

* Adding changelog entry: 3223.changed.md

---------

Co-authored-by: pyansys-ci-bot <[email protected]>
Co-authored-by: Camille <[email protected]>
  • Loading branch information
3 people committed Jun 28, 2024
1 parent 6153a6c commit cda716a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
smoke-tests:
name: "Build and smoke test (${{ matrix.os }} | Python ${{ matrix.python-version }}) (Release=${{ matrix.should-release }})"
runs-on: ${{ matrix.os }}
if: github.ref != 'refs/heads/main'
if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
timeout-minutes: 20
strategy:
fail-fast: false
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/3223.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ci: improving if to match also schedule and workflow_dispatch

0 comments on commit cda716a

Please sign in to comment.