We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3c916b commit fc92245Copy full SHA for fc92245
.github/workflows/Cleanup.RedistBranch.yaml
@@ -15,6 +15,14 @@ jobs:
15
permissions:
16
contents: write
17
steps:
18
+ - name: Lock PR conversation
19
+ run: |
20
+ PR_NUMBER="${{ github.event.pull_request.number }}"
21
+ echo "Locking PR #$PR_NUMBER to prevent further comments"
22
+ gh pr lock "$PR_NUMBER" --repo "${{ github.repository }}" --reason resolved
23
+ env:
24
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25
+
26
- name: Delete PR branch
27
run: |
28
BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
0 commit comments