Skip to content

Conversation

@doitian
Copy link
Member

@doitian doitian commented Dec 24, 2025

What problem does this PR solve?

Problem Summary: Redundant CI runs by skipping workflows on pull requests that originate from branches within the same repository (nervosnetwork/ckb). These are already covered by push events.

Related: #4567

What is changed and how it works?

Proposal: xxx

What's Changed: Add jobs condition to prevent redundant CI runs.

CI workflows will run only for:

  • Pushes to branches in nervosnetwork/ckb
  • Pull requests from forks

This avoids duplication, as PRs from the main repo trigger both a push and a pull_request event.

Check List

Tests

  • No code

Release note

None: Exclude this PR from the release note.

Prevent redundant CI runs by skipping workflows on pull requests that originate from branches within the same repository (nervosnetwork/ckb). These are already covered by push events.

CI workflows will run only for:
- Pushes to branches in nervosnetwork/ckb
- Pull requests from forks

This avoids duplication, as PRs from the main repo trigger both a push and a pull_request event.
@doitian doitian requested a review from a team as a code owner December 24, 2025 02:40
@doitian doitian requested review from zhangsoledad and removed request for a team December 24, 2025 02:40
@doitian
Copy link
Member Author

doitian commented Dec 24, 2025

#5072 is the same PR but from a branch in current repo

@doitian doitian added this pull request to the merge queue Dec 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants