Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/branch-freeze/workflows/handle-command.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function Add-Reaction {
-Content $Content
}
catch {
return
Write-Host "::warning::Failed to add the '$Content' reaction to comment $CommentId."
}
Comment thread
AlesProkop marked this conversation as resolved.
Resolved
}

Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/branch-freeze-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ on:

permissions:
contents: read # checkout the shared scripts
issues: write # create/close/label the tracking issue, react, comment
# `statuses: write` and `pull-requests: read` are required only by the reusable
# refresh workflow and are granted on the `refresh` job below (least privilege).
issues: write # create/close/label the tracking issue; react/reply on issue comments
pull-requests: write # react/reply when the command comes from a pull request comment
# `statuses: write` is required only by the reusable refresh workflow and is
# granted on the `refresh` job below (least privilege).

concurrency:
# Do not let two freeze/unfreeze operations modify tracking issues at once.
Expand Down
Loading