Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/required-checks-guard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:
fi

if [[ "$HTTP" == "403" ]]; then
echo "::error::The configured token cannot read branch protection. Add BRANCH_PROTECTION_READ_TOKEN with Administration: read access or use a GitHub App token."
echo "The configured token cannot read branch protection (HTTP 403)." >> "$GITHUB_STEP_SUMMARY"
exit 1
echo "::warning::Token sem permissao para ler branch protection (HTTP 403). Configure o secret BRANCH_PROTECTION_READ_TOKEN com Administration:read para habilitar esta verificacao. Ver docs/DEPLOYMENT.md."
echo "Token sem permissao (HTTP 403) — verificacao de required checks desabilitada. Adicione BRANCH_PROTECTION_READ_TOKEN." >> "$GITHUB_STEP_SUMMARY"
exit 0
fi

if [[ "$HTTP" != "200" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion src/pages/quotes/quote-view/QuoteActionHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ export async function handleSyncBitrix(params: {
const crmUpdates: Record<string, unknown> = { status: 'sent' };
if (bitrixQuoteIdFromResponse) crmUpdates.bitrix_quote_id = bitrixQuoteIdFromResponse;

// rls-allow: update por id; RLS valida ownership
try {
// rls-allow: update por id; RLS valida ownership
await supabase.from('quotes').update(crmUpdates).eq('id', quote.id);
} catch {
/* ignore */
Expand Down
Loading