Skip to content

Commit 74c29a7

Browse files
fix(ci): remove job-level permissions from reusable workflow (#33)
Job-level permissions in reusable workflows can cause startup failures when called from other workflows. Keep only continue-on-error for graceful handling of SARIF upload failures. Co-authored-by: rafaelrsantosti <11065120+rafaelrsantosti@users.noreply.github.com>
1 parent c4c26b8 commit 74c29a7

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,6 @@ jobs:
243243
name: Security Scan
244244
needs: changes
245245
if: needs.changes.outputs.api == 'true' || needs.changes.outputs.portal == 'true'
246-
permissions:
247-
contents: read
248-
security-events: write
249246

250247
steps:
251248
- name: Checkout code

0 commit comments

Comments
 (0)