Skip to content

Commit

Permalink
fix test workflow should be run in the main branch (#67)
Browse files Browse the repository at this point in the history
* fix test workflow should be run in the main branch

* feat: support workflow_dispatch
  • Loading branch information
godruoyi authored Mar 12, 2024
1 parent 9c87138 commit f23bf78
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
pull_request:
paths:
- "!*.md"
workflow_dispatch:
jobs:
code-coverage:
name: Code Coverage
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: static analysis

on:
workflow_dispatch:
push:
branches:
- master
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: test
on:
workflow_dispatch:
pull_request:
paths:
- "!*.md"
push:
branches:
- master
jobs:
phptests:
runs-on: ${{ matrix.operating-system }}
Expand Down

0 comments on commit f23bf78

Please sign in to comment.