chore: workflows now largely only run on pull requests or merge queues

This commit is contained in:
Alex Zenla
2024-04-04 22:57:57 -07:00
parent 8b2befb3bf
commit 618d7a1584
6 changed files with 29 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

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