Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test perf2 #12

Merged
merged 2 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/master_sync
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Master weekly sync

on:
workflow_dispatch:
# schedule:
# - cron: '10 17 * * 5'

jobs:
createPullRequest:
name: Update and create pull request
runs-on: ubuntu-latest
steps:
- name: get_date
run: echo todays_date="$(date +'%Y-%m-%d')" >> $GITHUB_ENV

- uses: actions/[email protected]
with:
ref: develop

- name: update_file
run: |
git checkout master
git merge origin/develop --ff-only
git push origin HEAD

- name: Make changes to pull request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update rocMLIR main ${{ env.rocmlirsha }}
committer: Github <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: master-sync-${{ env.todays_date }}
delete-branch: true
title: 'Master Weekly Sync ${{ env.todays_date }}'
body: |
Master branch synced with develop
- Updated with changes from ${{ env.todays_date }}
- Auto-generated by [create-pull-request][1]

[1]: https://github.com/peter-evans/create-pull-request
labels: |
dependencies
automated
skip bot checks
draft: false
base: develop
15 changes: 1 addition & 14 deletions .github/workflows/weekly_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,6 @@ jobs:
run: |
sed -i "s/ROCm\/rocMLIR@[^ ]*/ROCm\/rocMLIR@${{ env.rocmlirsha }}/g" requirements.txt
cat requirements.txt


#- name: action_replace
# uses: Nambers/[email protected]
# with:
# path: ${{ github.workspace }}/requirements.txt
# The regex of old string, which should be replaced
# oldString: ROCmSoftwarePlatform/rocMLIR@(/S+)
# Replace old string to this string
# newString: ROCmSoftwarePlatform/rocMLIR@${{ env.rocmlirsha }}
# Print out file content after replacement
# showFileContent: true


- name: Make changes to pull request
uses: peter-evans/[email protected]
Expand All @@ -55,7 +42,7 @@ jobs:

[1]: https://github.com/peter-evans/create-pull-request
labels: |
onnxruntime
rocMLIR
dependencies
automated
skip bot checks
Expand Down
Loading