mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-11-19 19:16:30 +01:00
Add workflow permissions for security
Co-authored-by: vincanger <70215737+vincanger@users.noreply.github.com>
This commit is contained in:
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@@ -10,6 +10,8 @@ jobs:
|
|||||||
prettier:
|
prettier:
|
||||||
name: Prettier Check
|
name: Prettier Check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -28,6 +30,8 @@ jobs:
|
|||||||
eslint:
|
eslint:
|
||||||
name: ESLint Check
|
name: ESLint Check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user