Skip to content
Merged
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: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@ concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

Comment on lines +13 to +15
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Com o permissions limitado a apenas contents: read, o step actions/upload-artifact@v4 tende a falhar por falta de permissões (normalmente requer actions: write para criar/upload de artifacts). Para manter least-privilege sem quebrar o CI, adicione actions: write (ou defina permissions no job build-and-test apenas para actions: write + contents: read).

Copilot uses AI. Check for mistakes.
jobs:
build-and-test:
name: Build & Test
runs-on: ubuntu-latest
permissions:
contents: read
actions: write

steps:
- name: Checkout
Expand Down
Loading