Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger certain GHA checks on PR by types not by branch #69

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
trigger certain gha checks on pr by types not by branch
zkytony committed Apr 19, 2024
commit a52688ae18c82cf8f14ffc4041bf42c9c92a49be
8 changes: 7 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -4,7 +4,13 @@ on:
push:
branches: [ main, dev-latest ]
pull_request:
branches: [ main, dev-latest ]
types:
- opened
- reopened
- synchronize
- labeled
- unlabeled
- ready_for_review

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11 changes: 8 additions & 3 deletions .github/workflows/pre_commit.yml
Original file line number Diff line number Diff line change
@@ -5,9 +5,14 @@ on:
branches:
- main
pull_request:
branches:
- main
- dev-latest
types:
- opened
- reopened
- synchronize
- labeled
- unlabeled
- ready_for_review

jobs:
pre-commit:
runs-on: ubuntu-latest
8 changes: 7 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -7,7 +7,13 @@ on:
push:
branches: [ "main", "dev-latest" ]
pull_request:
branches: [ "main", "dev-latest" ]
types:
- opened
- reopened
- synchronize
- labeled
- unlabeled
- ready_for_review

jobs:
build:
8 changes: 7 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -4,7 +4,13 @@ on:
push:
branches: [ main, dev-latest ]
pull_request:
branches: [ main, dev-latest ]
types:
- opened
- reopened
- synchronize
- labeled
- unlabeled
- ready_for_review

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}