Skip to content

Commit

Permalink
Update eslint.yml with contents read permissions for private reposito… (
Browse files Browse the repository at this point in the history
#66)

# Update eslint action permissions

## ♻️ Current situation & Problem
For private repositories, the eslint action currently does not work as
`contents: read` permissions are required for this.

### Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).

Signed-off-by: Nikolai Madlener <[email protected]>
  • Loading branch information
NikolaiMadlener authored May 10, 2024
1 parent 7c7c491 commit 8296615
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:

permissions:
checks: write
contents: read

jobs:
eslint:
Expand Down

0 comments on commit 8296615

Please sign in to comment.