Skip to content

Commit

Permalink
Limit permissions on more workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Apr 5, 2022
1 parent 5a8c6ad commit eace203
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cspell-action.yml
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
cspell:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration-test.yml
Expand Up @@ -21,6 +21,9 @@ on:
# Run on demand
workflow_dispatch:

permissions:
contents: read

jobs:
integration-tests:
runs-on: ${{ matrix.os }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-dependencies.yml
Expand Up @@ -17,6 +17,9 @@ on:
schedule:
- cron: "0 12 * * 0"

permissions:
contents: read

jobs:
update-dependencies:
if: github.repository_owner == 'streetsidesoftware'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-integration-snapshots.yml
Expand Up @@ -5,6 +5,9 @@ on:
schedule:
- cron: "0 8 * * 1" # Monday at 8 UTC

permissions:
contents: read

jobs:
update:
if: github.repository_owner == 'streetsidesoftware'
Expand Down

0 comments on commit eace203

Please sign in to comment.