mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-07-25 05:40:50 +02:00
build: assign read permission to all actions without one
This commit is contained in:
@@ -16,11 +16,15 @@ jobs:
|
|||||||
name: Lint JavaScript/TypeScript
|
name: Lint JavaScript/TypeScript
|
||||||
uses: ./.github/workflows/lint-js.yml
|
uses: ./.github/workflows/lint-js.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
lint-rust:
|
lint-rust:
|
||||||
name: Lint Rust
|
name: Lint Rust
|
||||||
uses: ./.github/workflows/lint-rs.yml
|
uses: ./.github/workflows/lint-rs.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
security-scan:
|
security-scan:
|
||||||
name: Security Vulnerability Scan
|
name: Security Vulnerability Scan
|
||||||
|
|||||||
@@ -31,11 +31,15 @@ jobs:
|
|||||||
name: Lint JavaScript/TypeScript
|
name: Lint JavaScript/TypeScript
|
||||||
uses: ./.github/workflows/lint-js.yml
|
uses: ./.github/workflows/lint-js.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
lint-rust:
|
lint-rust:
|
||||||
name: Lint Rust
|
name: Lint Rust
|
||||||
uses: ./.github/workflows/lint-rs.yml
|
uses: ./.github/workflows/lint-rs.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
codeql:
|
codeql:
|
||||||
name: CodeQL
|
name: CodeQL
|
||||||
@@ -51,6 +55,8 @@ jobs:
|
|||||||
name: Spell Check
|
name: Spell Check
|
||||||
uses: ./.github/workflows/spellcheck.yml
|
uses: ./.github/workflows/spellcheck.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs: [security-scan, lint-js, lint-rust, codeql, spellcheck]
|
needs: [security-scan, lint-js, lint-rust, codeql, spellcheck]
|
||||||
|
|||||||
@@ -30,11 +30,15 @@ jobs:
|
|||||||
name: Lint JavaScript/TypeScript
|
name: Lint JavaScript/TypeScript
|
||||||
uses: ./.github/workflows/lint-js.yml
|
uses: ./.github/workflows/lint-js.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
lint-rust:
|
lint-rust:
|
||||||
name: Lint Rust
|
name: Lint Rust
|
||||||
uses: ./.github/workflows/lint-rs.yml
|
uses: ./.github/workflows/lint-rs.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
codeql:
|
codeql:
|
||||||
name: CodeQL
|
name: CodeQL
|
||||||
@@ -50,6 +54,8 @@ jobs:
|
|||||||
name: Spell Check
|
name: Spell Check
|
||||||
uses: ./.github/workflows/spellcheck.yml
|
uses: ./.github/workflows/spellcheck.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
rolling-release:
|
rolling-release:
|
||||||
needs: [security-scan, lint-js, lint-rust, codeql, spellcheck]
|
needs: [security-scan, lint-js, lint-rust, codeql, spellcheck]
|
||||||
|
|||||||
Reference in New Issue
Block a user