Skip to content

Commit

Permalink
Add default permissions as read-only (#75)
Browse files Browse the repository at this point in the history
* Add default permissions as read-only

Setting this will increase the openssf score.

* Fix build badge
  • Loading branch information
miguelnietoa authored Dec 27, 2022
1 parent c4349ca commit 4c1d3ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- 'v*.[0-9]'
pull_request:

permissions:
contents: read

jobs:
tests:
name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Elixir XDR
![Build Badge](https://img.shields.io/github/actions/workflow/status/kommitters/elixir_xdr/CI.yml?branch=main&style=for-the-badge)
![Build Badge](https://img.shields.io/github/actions/workflow/status/kommitters/elixir_xdr/ci.yml?branch=main&style=for-the-badge)
[![Coverage Status](https://img.shields.io/coveralls/github/kommitters/elixir_xdr?style=for-the-badge)](https://coveralls.io/github/kommitters/elixir_xdr)
[![Version Badge](https://img.shields.io/hexpm/v/elixir_xdr?style=for-the-badge)](https://hexdocs.pm/elixir_xdr)
![Downloads Badge](https://img.shields.io/hexpm/dt/elixir_xdr?style=for-the-badge)
Expand Down

0 comments on commit 4c1d3ff

Please sign in to comment.