Skip to content

chore(ci): trigger daily CI in v3.x-java branch #2198

Closed
rishav-karanjit wants to merge 8 commits into
mainfrom
daily-ci-java-3x-trigger
Closed

chore(ci): trigger daily CI in v3.x-java branch #2198
rishav-karanjit wants to merge 8 commits into
mainfrom
daily-ci-java-3x-trigger

Conversation

@rishav-karanjit

Copy link
Copy Markdown
Member

How daily CI in v3.xJava Works?

  1. 13:00 UTC weekday — GitHub fires daily_ci_java_3x.yml on main (schedule only runs from default branch). This is just the dispatcher.

  2. The dispatcher job runs — it calls the GitHub API:

    createWorkflowDispatch({
      workflow_id: 'daily_ci.yml',
      ref: 'v3.x-Java'
    })
    

    This tells GitHub: "trigger daily_ci.yml on branch v3.x-Java."

  3. GitHub receives the API call — it looks at daily_ci.yml on the v3.x-Java branch and checks: "does this workflow accept workflow_dispatch as a trigger?" If yes, it starts a new workflow run. If no, the API call fails.

  4. GitHub starts a new run of daily_ci.yml — this run is associated with v3.x-Java, not main. So when the jobs do actions/checkout (with no ref), they check out v3.x-Java code.

  5. Result: Two separate workflow runs happen — the dispatcher (on main) and the real CI (on v3.x-Java). All reusable workflows run against v3.x-Java without any modifications.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@rishav-karanjit rishav-karanjit marked this pull request as draft April 8, 2026 21:56
@rishav-karanjit rishav-karanjit changed the title empty commit chore(ci): trigger daily CI in v3.x-java branch Apr 8, 2026
Comment thread .github/workflows/daily_ci_java_3x.yml Fixed
rishav-karanjit and others added 5 commits April 8, 2026 14:57
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…e-encryption-sdk-dynamodb into daily-ci-java-3x-trigger
Comment thread .github/workflows/daily_ci_java_3x.yml Outdated
@rishav-karanjit rishav-karanjit marked this pull request as ready for review April 9, 2026 17:45
@rishav-karanjit rishav-karanjit requested a review from a team as a code owner April 9, 2026 17:45
@rishav-karanjit

Copy link
Copy Markdown
Member Author

Done in different way

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