-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Shanie Winitz <123639968+ShanieWinitz@users.noreply.github.com> Co-authored-by: Koren-Brand <152154782+Koren-Brand@users.noreply.github.com> Co-authored-by: emirsoyturk <emir@ingonyama.com> Co-authored-by: Miki <100796045+mickeyasa@users.noreply.github.com> Co-authored-by: ChickenLover <Romangg81@gmail.com> Co-authored-by: Jeremy Felder <jeremy.felder1@gmail.com> Co-authored-by: hadaringonyama <hadar@ingonyama.com> Co-authored-by: nonam3e <timur@ingonyama.com> Co-authored-by: Otsar <122266060+Otsar-Raikou@users.noreply.github.com>
- Loading branch information
1 parent
aacec3f
commit 5ef9ed1
Showing
811 changed files
with
24,887 additions
and
96,413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Extract Icicle Backend Branch | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
pr-number: | ||
description: 'The PR number to fetch the description for' | ||
required: true | ||
type: number | ||
outputs: | ||
cuda-backend-branch: | ||
description: "Branch name for cuda backend" | ||
value: ${{ jobs.extract-cuda-backend-branch.outputs.cuda-backend-branch }} | ||
|
||
jobs: | ||
extract-cuda-backend-branch: | ||
name: Extract cuda branch name | ||
runs-on: ubuntu-22.04 | ||
outputs: | ||
cuda-backend-branch: ${{ steps.extract.outputs.cuda-backend-branch }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Extract Private Branch from PR Description | ||
id: extract | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
DESCRIPTION=$(gh pr view ${{ inputs.pr-number }} --json body -q '.body') | ||
echo "PR Description: $DESCRIPTION" | ||
CUDA_BE_BRANCH=$(echo "$DESCRIPTION" | grep -oP 'cuda-backend-branch:\s*\K[^\s]+') || true | ||
if [ -z "$CUDA_BE_BRANCH" ]; then | ||
CUDA_BE_BRANCH="main" # Default branch if not specified | ||
fi | ||
echo "Extracted CUDA Backend Branch: $CUDA_BE_BRANCH" | ||
echo "cuda-backend-branch=$CUDA_BE_BRANCH" >> "$GITHUB_OUTPUT" |
Oops, something went wrong.