Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rmch91 committed Nov 27, 2024
1 parent f573449 commit 081c596
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/minor-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,14 @@ jobs:
with:
script: |
const branchName = "${{ env.RELEASE_BRANCH }}";
github.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: "repo-sync.yml",
ref: "main",
inputs: {
branch_to_sync: branchName
}
});
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: "repo-sync.yml", // The workflow filename to trigger
ref: "main", // The branch or tag the workflow will run from
inputs: {
branch_to_sync: branchName // Pass the branch name as input
}
});


0 comments on commit 081c596

Please sign in to comment.