Skip to content

Commit

Permalink
ci(linter): add workflow permissions (#24)
Browse files Browse the repository at this point in the history
## πŸ’Œ Description

<!-- Add a more detailed description of the changes if needed. -->

## πŸ”— Related issue

<!-- If your PR refers to a related issue, link it here. -->
Fixes: #

## πŸ—οΈ Type of change

<!-- Mark with an `x` all the checkboxes that apply (like `[x]`) -->

- [ ] πŸ“š Examples/docs/tutorials
- [ ] πŸ› Bug fix (non-breaking change which fixes an issue)
- [ ] πŸ₯‚ Improvement (non-breaking change which improves an existing
feature)
- [ ] πŸš€ New feature (non-breaking change which adds functionality)
- [ ] πŸ’₯ Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🚨 Security fix
- [ ] ⬆️ Dependencies update

## βœ… Checklist

<!-- Mark with an `x` all the checkboxes that apply (like `[x]`) -->

- [ ] I've read the [`Code of
Conduct`](https://github.com/raven-actions/actionlint/blob/main/.github/CODE_OF_CONDUCT.md)
document.
- [ ] I've read the
[`Contributing`](https://github.com/raven-actions/actionlint/blob/main/.github/CONTRIBUTING.md)
guide.
  • Loading branch information
DariuszPorowski authored Jul 12, 2024
1 parent a30be53 commit 01fce4f
Showing 1 changed file with 4 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 @@ -14,6 +14,10 @@ on: # yamllint disable-line rule:truthy
branches:
- main

permissions:
contents: read
pull-requests: read

jobs:
linter:
name: Linter
Expand Down

0 comments on commit 01fce4f

Please sign in to comment.