File tree 2 files changed +22
-1
lines changed
2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change
1
+ # GitHub Action that uses close-issue auto-close empty issues after they are opened.
2
+ # If the issue body text is empty the Action auto-closes it and sends a notification.
3
+ # Otherwise if the issue body is not empty, it does nothing and the issue remains open.
4
+ # https://github.com/marketplace/actions/close-issue
5
+
6
+ name : auto_close_empty_issues
7
+ on :
8
+ issues :
9
+ types : [opened]
10
+ jobs :
11
+ check-issue-body-not-empty :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - if : github.event.issue.body == 0
15
+ name : Close Issue
16
+ uses : peter-evans/close-issue@v1
17
+ with :
18
+ comment : |
19
+ Issue body must contain content.
20
+ Auto-closing this issue.
Original file line number Diff line number Diff line change 547
547
* Problem 11
548
548
* [ Sol1] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_11/sol1.py )
549
549
* [ Sol2] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_11/sol2.py )
550
+ * Problem 112
551
+ * [ Sol1] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_112/sol1.py )
550
552
* Problem 12
551
553
* [ Sol1] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_12/sol1.py )
552
554
* [ Sol2] ( https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_12/sol2.py )
691
693
* [ External Sort] ( https://github.com/TheAlgorithms/Python/blob/master/sorts/external_sort.py )
692
694
* [ Gnome Sort] ( https://github.com/TheAlgorithms/Python/blob/master/sorts/gnome_sort.py )
693
695
* [ Heap Sort] ( https://github.com/TheAlgorithms/Python/blob/master/sorts/heap_sort.py )
694
- * [ I Sort] ( https://github.com/TheAlgorithms/Python/blob/master/sorts/i_sort.py )
695
696
* [ Insertion Sort] ( https://github.com/TheAlgorithms/Python/blob/master/sorts/insertion_sort.py )
696
697
* [ Iterative Merge Sort] ( https://github.com/TheAlgorithms/Python/blob/master/sorts/iterative_merge_sort.py )
697
698
* [ Merge Insertion Sort] ( https://github.com/TheAlgorithms/Python/blob/master/sorts/merge_insertion_sort.py )
You can’t perform that action at this time.
0 commit comments