Skip to content

Commit

Permalink
CI: backport.yml: harden permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Dec 7, 2024
1 parent d00d363 commit 04b227e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ on:
- closed
- labeled

permissions: {}
permissions:
contents: read

jobs:
backport:
runs-on: ubuntu-latest
name: Backport

permissions:
pull-requests: write

steps:
- name: Backport Bot
id: backport
Expand Down

0 comments on commit 04b227e

Please sign in to comment.