Skip to content

Commit

Permalink
ci: update GitHub Actions permissions
Browse files Browse the repository at this point in the history
Update the GitHub Actions workflow to include the necessary permissions for the lint job. This ensures the workflow can read the repository contents and packages, as well as write status updates.
  • Loading branch information
rtuszik committed Sep 19, 2024
1 parent fe2c79a commit 606f109
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
name: Lint
on: [push, pull_request]

permissions: {}

jobs:
lint:
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
statuses: write

steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down

0 comments on commit 606f109

Please sign in to comment.