Skip to content

Conversation

Bambooin
Copy link
Contributor

Pull request

Issue tracker

Fixes will automatically close the related issue

The forked repo non main branch won't trigger workflow, is hard for
preparing pull request on non main branch in forked repo.

First of all, we should trigger push event on any branch, the current
filter is wrong, which won't trigger workflow on forked repo push event.

The grammar is wrong by the document: https://docs.github.com/en/actions/how-tos/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow#example-including-and-excluding-branches

If you define a branch with the ! character, you must also define at least one branch without the ! character. If you only want to exclude branches, use branches-ignore instead.

Secondly, the main branch should trigger commit build in case of merge or rebase
with pull requests.

Feature

Describe feature of pull request

Unit test

  • Done

Manual test

  • Done

Code Review

  1. Unit and manual test pass
  2. GitHub Action CI pass
  3. At least one contributor reviews and votes
  4. Can be merged clean without conflicts
  5. PR will be merged by rebase upstream base

Additional Info

The forked repo non main branch won't trigger workflow, is hard for
preparing pull request on non main branch in forked repo.

First of all, we should trigger push event on any branch, the current
filter is wrong, which won't trigger workflow on **forked repo** push event.

The grammar is wrong by the document: https://docs.github.com/en/actions/how-tos/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow#example-including-and-excluding-branches

> If you define a branch with the ! character, you must also define at least one branch without the ! character. If you only want to exclude branches, use branches-ignore instead.

Secondly, the main branch should trigger commit build in case of merge or rebase
with pull requests.
@lotem lotem merged commit cfa7f01 into rime:master Jul 12, 2025
10 checks passed
@lotem
Copy link
Member

lotem commented Jul 12, 2025

Thanks. Merged.

@Bambooin Bambooin deleted the fix-commit-ci branch July 12, 2025 04:40
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