Skip to content

Commit 0c0a51c

Browse files
committed
Added permissions to override repo/org settings w/ least privileges required for improved security (https://cwe.mitre.org/data/definitions/275.html)
1 parent 1804fff commit 0c0a51c

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/lint-on-push-pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Lint pushes/PRs
22
on: [push, pull_request]
33

4+
permissions:
5+
contents: read
6+
47
jobs:
58

69
js-json-md-yaml-lint:

.github/workflows/publish-to-cws-ews-on-chromium-bump.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [main]
66
paths: [chromium/extension/manifest.json]
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
check-version-to-publish:
1013
runs-on: ubuntu-latest

.github/workflows/sync-changes.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [main]
66
paths: ["**", "!.*"]
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
build:
1013
if: (github.repository == 'adamlui/perplexity-omnibox') && (github.event.commits[0].committer.username != 'kudo-sync-bot')

0 commit comments

Comments
 (0)