mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 21:21:32 +00:00
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:
8
.github/workflows/check.yml
vendored
8
.github/workflows/check.yml
vendored
@ -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
|
||||||
|
8
.github/workflows/client.yml
vendored
8
.github/workflows/client.yml
vendored
@ -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:
|
||||||
|
9
.github/workflows/kernel.yml
vendored
9
.github/workflows/kernel.yml
vendored
@ -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
|
||||||
|
9
.github/workflows/os.yml
vendored
9
.github/workflows/os.yml
vendored
@ -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
|
||||||
|
6
.github/workflows/release-plz.yml
vendored
6
.github/workflows/release-plz.yml
vendored
@ -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
|
||||||
|
8
.github/workflows/server.yml
vendored
8
.github/workflows/server.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user