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

feat: submodule sync #293

Closed
wants to merge 1 commit into from
Closed
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
44 changes: 44 additions & 0 deletions .github/workflows/submodule_sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Synchronize Git Submodules

on:
push:
branches: [main]
schedule:
- cron: '30 5 * * *'
workflow_dispatch:

jobs:
submodule-sync:
name: Synchronize the git submodule
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.PAT_TOKEN }}
- uses: taiki-e/install-action@just
- uses: dtolnay/rust-toolchain@stable
- name: Update Submodule
run: just source && just bind
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.PAT_TOKEN }}
commit-message: Update Submodules
signoff: false
branch: bot/update-submodules
base: main
delete-branch: true
title: '[BOT] Update Submodules'
body: |
### Description

Automated PR to update git submodules.
labels: |
A-submodules
C-bot
assignees: refcell
draft: false
push-to-fork: alloy-rs/op-alloy
Loading