Skip to content

Commit

Permalink
Fix GitHub action workflows to trigger on only pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiu committed Sep 18, 2024
1 parent a5d8f55 commit 4da2d78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: SwiftLint

on:
push:
branches: [ '**' ]
pull_request_target:
branches: [ '**' ]
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:

jobs:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Unit Tests

on:
push:
branches: [ '**' ]
pull_request_target:
branches: [ '**' ]
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:

jobs:
Expand Down

0 comments on commit 4da2d78

Please sign in to comment.