2024-04-21 15:54:59 +00:00
|
|
|
name: "Check cherry-picks"
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
branches:
|
|
|
|
- 'release-**'
|
|
|
|
- 'staging-**'
|
|
|
|
|
|
|
|
permissions: {}
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: github.repository_owner == 'NixOS'
|
|
|
|
steps:
|
2024-05-15 15:35:15 +00:00
|
|
|
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
|
2024-04-21 15:54:59 +00: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"
|