Skip to content

Commit ed31fab

Browse files
committed
ci: apply principle of least privilege to lunaria workflow
1 parent 4113a4e commit ed31fab

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/lunaria.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ concurrency:
1010
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
1111
cancel-in-progress: true
1212

13-
# Allow this job to clone the repository and comment on the pull request
14-
permissions:
15-
contents: read
16-
pull-requests: write
13+
permissions: {}
1714

1815
jobs:
1916
lunaria-overview:
2017
name: 🌝 Generate Lunaria Overview
2118
runs-on: ubuntu-24.04-arm
19+
permissions:
20+
contents: read
21+
pull-requests: write # post Lunaria overview comments on pull requests
2222

2323
steps:
2424
- name: Checkout

0 commit comments

Comments
 (0)