Skip to content

fix: add permissions to actions #350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 22, 2025
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
5 changes: 4 additions & 1 deletion .github/workflows/alpha-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Alpha Release
on:
workflow_dispatch:

permissions:
contents: read

jobs:
alpha-release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -54,4 +57,4 @@ jobs:
- name: Push Changes and Tags
run: |
git push --follow-tags
shell: bash
shell: bash
9 changes: 7 additions & 2 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
name: Release
name: Changesets

permissions:
contents: read
pull-requests: write

on:
push:
branches: [main]
Expand All @@ -21,7 +26,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v4

- name:
- name: Setup Environment
uses: ./.github/actions/setup

- name: Create Release Pull Request or Publish to NPM
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: E2E Tests

permissions:
contents: read

on:
workflow_dispatch:
workflow_call:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/expo-preview.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: expo-preview
name: Expo Preview

permissions:
contents: read

on:
workflow_call:
workflow_dispatch:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/expo-update.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: expo-update
name: Expo Update

permissions:
contents: read

on:
workflow_call:
workflow_dispatch:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: Pull Request

permissions:
contents: read

on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: Snapshot

permissions:
contents: read

on:
workflow_call:
workflow_dispatch:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: Verify

permissions:
contents: read

on:
workflow_call:
workflow_dispatch:
Expand Down
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/apps
.yarn
.yarn
.github/actions
Loading