Skip to content

Commit

Permalink
remove id-token permission from linting and add read permissions to a…
Browse files Browse the repository at this point in the history
…ll sections
  • Loading branch information
Yuyuutsu committed Jan 21, 2025
1 parent 4456264 commit 46512a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:

jobs:
build:
permissions:
contents: 'read'
runs-on: ubuntu-22.04
steps:
- name: Install Go
Expand All @@ -30,7 +32,6 @@ jobs:
lint:
permissions:
contents: 'read'
id-token: 'write'
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 46512a5

Please sign in to comment.