Skip to content
Open
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
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Publish Beta Package to npmjs
permissions:
contents: read
Comment on lines +2 to +3
Copy link

Copilot AI Nov 4, 2025

Choose a reason for hiding this comment

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

[nitpick] In publish-beta.yml, permissions are set at the workflow level (lines 2-3), while in ci.yml, permissions are set at the job level (lines 8-9). For consistency and maintainability, consider using the same permission scope pattern across all workflows. Job-level permissions are generally preferred as they provide more granular control if multiple jobs are added later.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Do you think we'll need write permissions as well since this step is to publish a package?

on:
push:
branches:
Expand Down
Loading