Skip to content

Commit

Permalink
fix: add branch limitation and drop pull_request trigger for ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Dec 27, 2024
1 parent a858292 commit d89e9d7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ name: CI
# would trigger our jobs twice on pull requests (once from "push" event and once
# from "pull_request->synchronize")
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- 'main'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker-image-en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Publish Docker image (English)

on:
push:
branches:
- main
tags:
- 'v*.*.*'
workflow_dispatch:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Publish Docker image

on:
push:
branches:
- main
tags:
- 'v*.*.*'
workflow_dispatch:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/linux-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ permissions:

on:
push:
branches:
- main
tags:
- 'v*.*.*'
- '!*-alpha*'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ permissions:

on:
push:
branches:
- main
tags:
- 'v*.*.*'
- '!*-alpha*'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ permissions:

on:
push:
branches:
- main
tags:
- 'v*.*.*'
- '!*-alpha*'
Expand Down

0 comments on commit d89e9d7

Please sign in to comment.