Skip to content

Commit

Permalink
Allow tests to run on automated commits
Browse files Browse the repository at this point in the history
  • Loading branch information
TGRCdev committed Jan 28, 2025
1 parent 987a6d6 commit 61f47d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cargo-release.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pre-release-commit-message = "[skip actions] Publish Pre-release"
pre-release-commit-message = "[no publish] Publish Pre-release"
tag = false
5 changes: 4 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ jobs:
check-src:
name: Check Source Changed
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}
if: ${{
github.ref == 'refs/heads/main' &&
github.event_name == 'push' &&
! startsWith(github.event.head_commit.message, '[no publish]') }}
outputs:
src-changed: ${{ steps.changes.outputs.src }}
steps:
Expand Down

0 comments on commit 61f47d9

Please sign in to comment.