File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 92
92
build :
93
93
name : Compile checks
94
94
runs-on : ${{ matrix.os }}
95
+ permissions :
96
+ pull-requests : write
95
97
needs : [MainSequence]
96
98
strategy :
97
99
matrix :
@@ -100,5 +102,17 @@ jobs:
100
102
- uses : actions/checkout@v3
101
103
with :
102
104
submodules : true
103
- - run : cmake -B ./build -S .
104
- - run : cmake --build build
105
+ - run : |
106
+ cmake -B ./build -S .
107
+ cmake --build build
108
+ - name : Label on PR fail
109
+ uses : actions/github-script@v6
110
+ if : ${{ failure() && matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request' }}
111
+ with :
112
+ script : |
113
+ github.rest.issues.addLabels({
114
+ issue_number: context.issue.number,
115
+ owner: context.repo.owner,
116
+ repo: context.repo.repo,
117
+ labels: ['Autochecks are failing']
118
+ })
Original file line number Diff line number Diff line change 238
238
* [ Qr Decomposition] ( https://github.com/TheAlgorithms/C/blob/HEAD/numerical_methods/qr_decomposition.c )
239
239
* [ Qr Eigen Values] ( https://github.com/TheAlgorithms/C/blob/HEAD/numerical_methods/qr_eigen_values.c )
240
240
* [ Realtime Stats] ( https://github.com/TheAlgorithms/C/blob/HEAD/numerical_methods/realtime_stats.c )
241
+ * [ Secant Method] ( https://github.com/TheAlgorithms/C/blob/HEAD/numerical_methods/secant_method.c )
241
242
* [ Simpsons 1 3Rd Rule] ( https://github.com/TheAlgorithms/C/blob/HEAD/numerical_methods/simpsons_1_3rd_rule.c )
242
243
* [ Variance] ( https://github.com/TheAlgorithms/C/blob/HEAD/numerical_methods/variance.c )
243
244
You can’t perform that action at this time.
0 commit comments