Skip to content

Commit

Permalink
Fix GitHub workflows to also run on main branch (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiu authored Sep 18, 2024
1 parent 69d4f51 commit 5c4bc08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Docs

on:
push:
branches:
- main
branches: [ "main" ]
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: SwiftLint

on:
push:
branches: [ "main" ]
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Unit Tests

on:
push:
branches: [ "main" ]
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
Expand Down

0 comments on commit 5c4bc08

Please sign in to comment.