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

chore(ci): Trigger CI with an Empty Commit #767

Closed
wants to merge 1 commit into from
Closed
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
8 changes: 5 additions & 3 deletions .github/workflows/monorepo_pin_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: taiki-e/install-action@just
- uses: dtolnay/rust-toolchain@stable
- name: Update Monorepo Commit
- name: Update Monorepo Commit
run: just update-monorepo
- name: Create Pull Request
id: cpr
Expand All @@ -32,10 +32,12 @@ jobs:
title: '[BOT] Update Monorepo'
body: |
### Description

Automated PR to update the monorepo commit.
labels: |
A-ci
C-bot
assignees: refcell
draft: false
- name: Trigger CI Runs
run: just trigger
5 changes: 5 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,8 @@ monorepo:
update-monorepo:
[ ! -d monorepo ] && git clone https://github.com/ethereum-optimism/monorepo
cd monorepo && git rev-parse HEAD > ../.monorepo

# Force pushes an empty commit to the git branch to trigger CI
trigger:
git commit --amend --no-edit
git push --force-with-lease
Loading