mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
The script is part of CI and changes to it should be reviewed by the CI owners. Thus moving it to ci/ is the most sensible thing to do.
32 lines
740 B
YAML
32 lines
740 B
YAML
name: "Check cherry-picks"
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/check-cherry-picks.yml
|
|
pull_request_target:
|
|
branches:
|
|
- 'release-**'
|
|
- 'staging-**'
|
|
- '!staging-next'
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
check:
|
|
name: cherry-pick-check
|
|
runs-on: ubuntu-24.04-arm
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
with:
|
|
fetch-depth: 0
|
|
filter: blob:none
|
|
path: trusted
|
|
|
|
- name: Check cherry-picks
|
|
env:
|
|
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
|
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
|
run: |
|
|
./trusted/ci/check-cherry-picks.sh "$BASE_SHA" "$HEAD_SHA"
|