Skip to content

Commit

Permalink
Merge pull request #3929 from github/aeisenberg/more-permissions
Browse files Browse the repository at this point in the history
More permissions changes
  • Loading branch information
aeisenberg authored Feb 14, 2025
2 parents 93645de + b50a59f commit cd9dc9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ on:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'

permissions:
contents: read

jobs:
build:
name: Release
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit cd9dc9d

Please sign in to comment.