mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-24 14:29:42 +03:00
feat: label when the build fails (#1254)
* feat: label when the build fails * updating DIRECTORY.md --------- Co-authored-by: Taj <tjgurwara99@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
This commit is contained in:
parent
05ff277ebf
commit
01bc982b9a
18
.github/workflows/awesome_workflow.yml
vendored
18
.github/workflows/awesome_workflow.yml
vendored
@ -92,6 +92,8 @@ jobs:
|
||||
build:
|
||||
name: Compile checks
|
||||
runs-on: ${{ matrix.os }}
|
||||
permissions:
|
||||
pull-requests: write
|
||||
needs: [MainSequence]
|
||||
strategy:
|
||||
matrix:
|
||||
@ -100,5 +102,17 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- run: cmake -B ./build -S .
|
||||
- run: cmake --build build
|
||||
- run: |
|
||||
cmake -B ./build -S .
|
||||
cmake --build build
|
||||
- name: Label on PR fail
|
||||
uses: actions/github-script@v6
|
||||
if: ${{ failure() && matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request' }}
|
||||
with:
|
||||
script: |
|
||||
github.rest.issues.addLabels({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
labels: ['Autochecks are failing']
|
||||
})
|
||||
|
@ -238,6 +238,7 @@
|
||||
* [Qr Decomposition](https://github.com/TheAlgorithms/C/blob/HEAD/numerical_methods/qr_decomposition.c)
|
||||
* [Qr Eigen Values](https://github.com/TheAlgorithms/C/blob/HEAD/numerical_methods/qr_eigen_values.c)
|
||||
* [Realtime Stats](https://github.com/TheAlgorithms/C/blob/HEAD/numerical_methods/realtime_stats.c)
|
||||
* [Secant Method](https://github.com/TheAlgorithms/C/blob/HEAD/numerical_methods/secant_method.c)
|
||||
* [Simpsons 1 3Rd Rule](https://github.com/TheAlgorithms/C/blob/HEAD/numerical_methods/simpsons_1_3rd_rule.c)
|
||||
* [Variance](https://github.com/TheAlgorithms/C/blob/HEAD/numerical_methods/variance.c)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user