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 name: check
on: [push, pull_request, merge_group] on:
pull_request:
branches:
- main
merge_group:
branches:
- main
jobs: jobs:
fmt: fmt:
name: fmt name: fmt

View File

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

View File

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

View File

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

View File

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

View File

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