Skip to content

Commit

Permalink
run workflow only on main
Browse files Browse the repository at this point in the history
  • Loading branch information
adamperkowski committed Oct 11, 2024
1 parent 8e11d8a commit e13768e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Rust
on:
push:
branches: ["main"]
paths:
- '**.*.rs'
- 'src/**'
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/typos.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Check for typos

on:
[push, pull_request, workflow_dispatch]
push:
branches: ["main"]
pull_request:
workflow_dispatch:

jobs:
check-typos:
Expand Down

0 comments on commit e13768e

Please sign in to comment.