Skip to content

Commit

Permalink
ci: add write permission
Browse files Browse the repository at this point in the history
  • Loading branch information
romadryud committed Aug 10, 2024
1 parent 2550d4b commit ee216a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Lint

on: workflow_call

permissions:
contents: write
pull-requests: write
issues: write
repository-projects: write

jobs:
prettier:
timeout-minutes: 30
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: preview

on:
pull_request
on: pull_request

jobs:
lint:
Expand Down

0 comments on commit ee216a5

Please sign in to comment.