Skip to content

Commit

Permalink
Merge pull request #540 from bingenito/main
Browse files Browse the repository at this point in the history
chore(actions): update default token permissions to read
  • Loading branch information
bingenito authored Mar 8, 2024
2 parents bc08333 + 17a1bae commit fc2b92f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@ defaults:
working-directory: ./site

permissions:
contents: write
contents: read

jobs:
build:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:

permissions:
contents: write
contents: read
actions: read

name: Release
Expand All @@ -19,7 +19,7 @@ jobs:
name: Upload Release Asset
needs: build
runs-on: windows-latest

steps:

# Using shared artifact from build workflow
Expand Down

0 comments on commit fc2b92f

Please sign in to comment.