Skip to content

Commit 87e12ba

Browse files
authored
mlir-aie-updates: Fix version and ensure workflows are triggered (#56)
Fix version and ensure workflows are triggered
1 parent 588c3b9 commit 87e12ba

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/update-mlir-aie.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
permissions:
1212
contents: write
1313
pull-requests: write
14+
actions: write
1415

1516
jobs:
1617
check-and-update:
@@ -66,6 +67,7 @@ jobs:
6667
6768
# Update requirements.txt
6869
sed -i "s|==${{ steps.current_version.outputs.version }}|==${{ steps.latest_release.outputs.tag }}|" requirements.txt
70+
sed -i "s|mlir-aie/releases/expanded_assets/.*|mlir-aie/releases/expanded_assets/${{ steps.latest_release.outputs.tag_with_v }}|" requirements.txt
6971
7072
# Commit changes
7173
git add requirements.txt
@@ -81,6 +83,12 @@ jobs:
8183
--head $new_branch \
8284
--title "Update mlir-aie from v${{ steps.current_version.outputs.version }} to ${{ steps.latest_release.outputs.tag_with_v }}" \
8385
--body-file -
86+
87+
# Trigger CI workflows
88+
echo "Triggering CI workflows..."
89+
gh workflow run ci-lint.yml --ref $new_branch
90+
gh workflow run small.yml --ref $new_branch
91+
gh workflow run test-examples.yml --ref $new_branch
8492
8593
- name: No new version found
8694
if: steps.current_version.outputs.version == steps.latest_release.outputs.tag

0 commit comments

Comments
 (0)