Skip to content

Commit

Permalink
ci(*): Fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
julienloizelet committed Jul 18, 2024
1 parent 2d871e1 commit c87a1fe
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
- '**.md'
workflow_dispatch:

permissions:
contents: read


jobs:
linter:

Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/mongodb-storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ on:
schedule:
- cron: '30 02 * * THU'

permissions:
contents: read

env:
# Allow ddev get to use a GitHub token to prevent rate limiting by tests
DDEV_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
mongodb-tests:

Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/sql-storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ on:
schedule:
- cron: '35 02 * * THU'

permissions:
contents: read

env:
# Allow ddev get to use a GitHub token to prevent rate limiting by tests
DDEV_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
sql-tests:

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
- cron: '25 02 * * THU'
workflow_dispatch:

permissions:
contents: read

jobs:
unittests:

Expand Down

0 comments on commit c87a1fe

Please sign in to comment.