Skip to content

Master weekly sync

Master weekly sync #2

Workflow file for this run

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
- uses: actions/[email protected]
with:
ref: master
- name: Sync master
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