You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message += '🔄 If you are attempting to update your CIPP repo please follow the instructions at: https://docs.cipp.app/setup/self-hosting-guide/updating ';
35
+
message += '\n\n';
36
+
37
+
// Check if PR is targeting main/master
38
+
if (context.payload.pull_request.base.ref === 'main' || context.payload.pull_request.base.ref === 'master') {
39
+
message += '⚠️ PRs cannot target the main branch directly. If you are attempting to contribute code please PR to the dev branch.\n\n';
40
+
}
41
+
42
+
// Check if PR is from a fork's main/master branch
43
+
if (context.payload.pull_request.head.repo.fork &&
message += '⚠️ This PR cannot be merged because it originates from your fork\'s main/master branch. If you are attempting to contribute code please PR from your dev branch or another non-main/master branch.\n\n';
46
+
}
47
+
48
+
message += '🔒 This PR will now be automatically closed due to the above violation(s).';
Write-Information"current entity is $($row.RowKey) with $($row.PartitionKey). Our size is $([System.Text.Encoding]::UTF8.GetByteCount($($row|ConvertTo-Json)))"
139
+
Write-Information"current entity is $($row.RowKey) with $($row.PartitionKey). Our size is $([System.Text.Encoding]::UTF8.GetByteCount($($row|ConvertTo-Json-Compress)))"
Write-AlertMessage-tenant $($TenantFilter) -message "Could not get compliance state for $($TenantFilter): $(Get-NormalizedError-message $_.Exception.message)"
0 commit comments