2022-05-07 12:54:51 +01:00
|
|
|
name: "Check cherry-picks"
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
branches:
|
2024-04-09 18:27:11 +01:00
|
|
|
- 'release-**'
|
|
|
|
- 'staging-**'
|
2024-06-12 21:07:03 +01:00
|
|
|
- '!staging-next'
|
2022-05-07 12:54:51 +01:00
|
|
|
|
|
|
|
permissions: {}
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: github.repository_owner == 'NixOS'
|
|
|
|
steps:
|
2024-05-13 12:43:41 +01:00
|
|
|
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
|
2022-05-07 12:54:51 +01:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
filter: blob:none
|
|
|
|
- name: Check cherry-picks
|
|
|
|
env:
|
|
|
|
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
|
|
|
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
|
|
|
run: |
|
|
|
|
./maintainers/scripts/check-cherry-picks.sh "$BASE_SHA" "$HEAD_SHA"
|