Commit 40d4fc76b5 for perl
commit 40d4fc76b5f9cab20ca3914d2aa017863230719b
Author: Yves Orton <demerphq@gmail.com>
Date: Wed Nov 18 21:03:05 2026 +0100
ci: skip commit policy checks in perl-security
Skip the merge and autosquash commit policy job in Perl/perl-security,
where security work follows a separate review process.
Guard the job with github.repository so the security fork skips it
before the GraphQL query. The inherited query currently fails there
because its token lacks access to private commit data.
diff --git a/.github/workflows/block-merge-and-autosquash-commits.yml b/.github/workflows/block-merge-and-autosquash-commits.yml
index 7624242132..48ea81cab2 100644
--- a/.github/workflows/block-merge-and-autosquash-commits.yml
+++ b/.github/workflows/block-merge-and-autosquash-commits.yml
@@ -8,6 +8,7 @@ permissions:
jobs:
block-merge-and-autosquash-commits:
+ if: github.repository != 'Perl/perl-security'
name: Block merge and autosquash commits
runs-on: ubuntu-latest
steps: