chore: release workflow fixes to improve utilization and fix checks (#23)

* chore: use edera-cultivation bot to push release changes

* chore: workflows now largely only run on pull requests or merge queues
This commit is contained in:
Alex Zenla 2024-04-04 23:05:59 -07:00 committed by GitHub
parent 19683b80c1
commit 8f7e47a218
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 30 additions and 18 deletions

View File

@ -1,5 +1,11 @@
name: check
on: [push, pull_request, merge_group]
on:
pull_request:
branches:
- main
merge_group:
branches:
- main
jobs:
fmt:
name: fmt

View File

@ -1,5 +1,11 @@
name: client
on: [push, pull_request, merge_group]
on:
pull_request:
branches:
- main
merge_group:
branches:
- main
jobs:
build:
strategy:

View File

@ -1,15 +1,14 @@
name: kernel
on:
push:
paths:
- "kernel/**"
- "hack/ci/**"
pull_request:
branches:
- main
paths:
- "kernel/**"
- "hack/ci/**"
merge_group:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest

View File

@ -1,16 +1,15 @@
name: os
on:
push:
paths:
- "os/**"
- "hack/os/**"
- "hack/ci/**"
pull_request:
branches:
- main
paths:
- "os/**"
- "hack/os/**"
- "hack/ci/**"
merge_group:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest

View File

@ -1,18 +1,13 @@
name: release-plz
permissions:
pull-requests: write
contents: write
on:
push:
branches:
- main
concurrency:
group: "${{ github.workflow }}"
cancel-in-progress: true
jobs:
release-plz:
name: release-plz
@ -27,6 +22,7 @@ jobs:
with:
submodules: recursive
fetch-depth: 0
token: "${{ steps.generate-token.outputs.token }}"
- uses: dtolnay/rust-toolchain@stable
- run: ./hack/ci/install-linux-deps.sh
- name: release-plz

View File

@ -1,5 +1,11 @@
name: server
on: [push, pull_request, merge_group]
on:
pull_request:
branches:
- main
merge_group:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest