Skip to content

Commit c0e2c0a

Browse files
authored
Adds condition to close PR if title is 'Revert repo sync' (#54705)
1 parent fbab88a commit c0e2c0a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/close-on-invalid-label.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ permissions:
1818
pull-requests: write
1919

2020
jobs:
21-
close-on-adding-invalid-label:
22-
if: github.repository == 'github/docs' && github.event.label.name == 'invalid'
21+
close-if-invalid:
22+
if: github.repository == 'github/docs' && (github.event.label.name == 'invalid' || github.event.pull_request.title == 'Revert "Repo sync"')
2323
runs-on: ubuntu-latest
2424

2525
steps:

0 commit comments

Comments
 (0)