Skip to content

Commit

Permalink
Add top level read content permissions
Browse files Browse the repository at this point in the history
* Add top level read content permissions

* Remove unnecessary perm

* Revert some changes

* Don't think we need the content write perm

<rikaitan.link>M2IzZmQ2N2E2NDg0MmRkYmVkZGFmYWE0OTFjOGY0MzZkZTA5ODlkMgo=</rikaitan.link>
  • Loading branch information
jason-ojisan committed Sep 2, 2024
1 parent 5675b4a commit 0c0fe1a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Performance Benchmarks

permissions:
contents: read
on:
push:
branches: [master]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
# supported CodeQL languages.
#
name: "CodeQL"

permissions:
contents: read
on:
push:
branches: [ "master" ]
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/publish-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ jobs:
environment: cd
outputs:
result: ${{ steps.webStorePublish.outcome }}
permissions:
actions: write
steps:
- uses: robinraju/release-downloader@a96f54c1b5f5e09e47d9504526e96febd949d4c2 # [email protected]
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ jobs:
runs-on: ubuntu-latest
permissions:
actions: write
contents: write
steps:
- name: Dispatch publish-chrome
uses: aurelien-baudet/workflow-dispatch@3133c5d135c7dbe4be4f9793872b6ef331b53bc7 # pin@v2
Expand Down

0 comments on commit 0c0fe1a

Please sign in to comment.