Skip to content

Commit 5cf434b

Browse files
committed
github: fix config mistake preventing repo lockdown commenting
The previous commit updated the repo lockdown config to the new format: commit 9b89cdb Author: Alex Bennée <[email protected]> Date: Mon Oct 4 16:43:08 2021 +0100 .github: move repo lockdown to the v2 configuration Unfortunately the config key names used were wrong, resulting in the repo lockdown throwing warnings: Unexpected input(s) 'pull-comment', 'lock-pull', 'close-pull', valid inputs are ['github-token', 'exclude-issue-created-before', 'exclude-issue-labels', 'issue-labels', 'issue-comment', 'skip-closed-issue-comment', 'close-issue', 'lock-issue', 'issue-lock-reason', 'exclude-pr-created-before', 'exclude-pr-labels', 'pr-labels', 'pr-comment', 'skip-closed-pr-comment', 'close-pr', 'lock-pr', 'pr-lock-reason', 'process-only', 'log-output'] It still locked down the pull requests, due to its default config, but didn't leave the friendly message explaining why. Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Daniel P. Berrangé <[email protected]>
1 parent 9aaf11e commit 5cf434b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/lockdown.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: dessant/repo-lockdown@v2
1717
with:
18-
pull-comment: |
18+
pr-comment: |
1919
Thank you for your interest in the QEMU project.
2020
2121
This repository is a read-only mirror of the project's repostories hosted
@@ -26,5 +26,5 @@ jobs:
2626
functionality). However, we get a lot of patches, and so we have some
2727
guidelines about contributing on the project website:
2828
https://www.qemu.org/contribute/
29-
lock-pull: true
30-
close-pull: true
29+
lock-pr: true
30+
close-pr: true

0 commit comments

Comments
 (0)