Skip to content

[CI] create llvm auto-bump workflow #1

[CI] create llvm auto-bump workflow

[CI] create llvm auto-bump workflow #1

Workflow file for this run

name: Bump LLVM
on:
pull_request:
# schedule:
# - cron: '0 10 * * 1'
jobs:
update-dep:
runs-on: ubuntu-latest
steps:
- name: "Check out repository"
uses: actions/[email protected]
with:
submodules: true
- name: "Sync third-party/llvm-project"
id: sync-llvm-project
run: |
pushd third-party/llvm-project
git checkout main && git pull
echo "LLVM_SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
popd
- name: "Create Pull Request"
uses: peter-evans/create-pull-request@v7
with:
token: "${{ secrets.GITHUB_TOKEN }}"
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
commit-message: Bump LLVM to ${{ steps.sync-llvm-project.outputs.LLVM_SHA_SHORT }}
title: Bump LLVM to ${{ steps.sync-llvm-project.outputs.LLVM_SHA_SHORT }}
branch: update-llvm
delete-branch: true
assignees: makslevental
reviewers: makslevental