mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
Those two workflows bundle all the main jobs in two event-specific wrapper workflows. This enables us to do two things later on: - Synchronize the merge commits between most of the jobs run in a PR. - Create a single "required" job to be targeted by GitHub's "required status checks to pass" feature.
30 lines
579 B
YAML
30 lines
579 B
YAML
name: Push
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/push.yml
|
|
# eval is tested via pr.yml
|
|
push:
|
|
# Keep this synced with ci/request-reviews/dev-branches.txt
|
|
branches:
|
|
- master
|
|
- staging
|
|
- release-*
|
|
- staging-*
|
|
- haskell-updates
|
|
- python-updates
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
eval:
|
|
name: Eval
|
|
uses: ./.github/workflows/eval.yml
|
|
# Those are not actually used on push, but will throw an error if not set.
|
|
permissions:
|
|
# compare
|
|
issues: write
|
|
pull-requests: write
|
|
statuses: write
|