Skip to content

Commit f3dbba2

Browse files
committed
Merge branch 'main' of github.com:flashbots/op-rbuilder into niven/separate-full-payload-handler
2 parents 4b58264 + 9923cee commit f3dbba2

21 files changed

Lines changed: 1200 additions & 802 deletions

File tree

.github/workflows/release-plz.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Release-plz
2+
3+
on:
4+
# Create/update release PR on main push
5+
push:
6+
branches:
7+
- main
8+
# Create tags when release PR is merged
9+
pull_request:
10+
types:
11+
- closed
12+
branches:
13+
- main
14+
15+
permissions:
16+
pull-requests: write
17+
contents: write
18+
19+
jobs:
20+
release-plz:
21+
name: Release-plz
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout repository
25+
uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 0
28+
ref: ${{ github.ref }}
29+
30+
- name: Install Rust toolchain
31+
uses: dtolnay/rust-toolchain@stable
32+
33+
- name: Run release-plz release-pr
34+
if: github.event_name == 'push' && github.ref_type == 'branch'
35+
uses: release-plz/action@v0.5
36+
with:
37+
command: release-pr
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
41+
- name: Create tags on release PR merge
42+
if: >-
43+
github.event_name == 'pull_request' &&
44+
github.event.pull_request.merged == true &&
45+
contains(github.event.pull_request.labels.*.name, 'release') &&
46+
github.event.pull_request.user.login == 'github-actions[bot]'
47+
uses: release-plz/action@v0.5
48+
with:
49+
command: release
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)