Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ on:
pull_request:
branches: [dev]

permissions:
contents: read

jobs:
check:
uses: ./.github/workflows/lint-test.yml
permissions:
contents: read
secrets:
inherit
5 changes: 5 additions & 0 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ on:
CODECOV_TOKEN:
required: false

permissions:
contents: read

jobs:
lint-and-test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ on:
push:
branches: [master]

permissions:
contents: read
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

during release, maybe we need write permission so that we can comment the released comments and prs?


jobs:
lint-and-test:
permissions:
contents: read
uses: ./.github/workflows/lint-test.yml
secrets:
inherit
Expand Down