GitHub Workflows security hardening (#3884)

Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
This commit is contained in:
Alex 2024-04-23 07:20:47 +02:00 committed by GitHub
parent 60b9565277
commit a179735103
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,8 +4,13 @@ on:
pull_request_target:
types: [opened, reopened]
permissions:
contents: read
jobs:
close-pr:
permissions:
pull-requests: write
runs-on: ubuntu-latest
if: "contains(github.event.pull_request.body, 'by deleting this comment block') || github.event.pull_request.body == ''"
steps: