Skip to content

Commit

Permalink
Avoid running duplicate workflows in PRs.
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerluan committed Jun 13, 2024
1 parent faa522c commit 80c38ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/kotlin-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Kotlin Tests
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest # Assuming Kotlin projects can be built on Linux
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/swift-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Swift Tests
on: [push, pull_request]
on:
push:
branches:
- main
pull_request
jobs:
test:
runs-on: macos-latest
Expand Down

0 comments on commit 80c38ac

Please sign in to comment.