Skip to content

Commit

Permalink
ci: set GitHub Actions permissions
Browse files Browse the repository at this point in the history
Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
  • Loading branch information
sashashura committed Sep 2, 2022
1 parent 3f3e152 commit 17c51af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -16,6 +16,9 @@ on:
branches:
- "*"

permissions:
contents: read

jobs:
lint:
name: ESLint
Expand Down Expand Up @@ -104,6 +107,8 @@ jobs:
- uses: codecov/codecov-action@v2

release:
permissions:
contents: write # for publishing release
name: Release
runs-on: ubuntu-latest
needs:
Expand Down

0 comments on commit 17c51af

Please sign in to comment.