mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-27 10:01:24 +00:00
[ci] Explicitly declare permissions and limit credentials (#15324)
Authored by: bashonly
This commit is contained in:
5
.github/workflows/sanitize-comment.yml
vendored
5
.github/workflows/sanitize-comment.yml
vendored
@@ -4,13 +4,14 @@ on:
|
||||
issue_comment:
|
||||
types: [created, edited]
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
sanitize-comment:
|
||||
name: Sanitize comment
|
||||
if: vars.SANITIZE_COMMENT && !github.event.issue.pull_request
|
||||
permissions:
|
||||
issues: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Sanitize comment
|
||||
|
||||
Reference in New Issue
Block a user