mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-11-19 00:27:18 +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:
|
||||
name: Prettier Check
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -28,6 +30,8 @@ jobs:
|
||||
eslint:
|
||||
name: ESLint Check
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user