Unverified Commit 226e7f7d authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci] fix errors about indentation in yaml files (Part 2) (#6789)

parent 7679c735
...@@ -3,10 +3,10 @@ name: CUDA Version ...@@ -3,10 +3,10 @@ name: CUDA Version
on: on:
push: push:
branches: branches:
- master - master
pull_request: pull_request:
branches: branches:
- master - master
# Run manually by clicking a button in the UI # Run manually by clicking a button in the UI
workflow_dispatch: workflow_dispatch:
inputs: inputs:
...@@ -130,7 +130,7 @@ jobs: ...@@ -130,7 +130,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [test] needs: [test]
steps: steps:
- name: Note that all tests succeeded - name: Note that all tests succeeded
uses: re-actors/alls-green@v1.2.2 uses: re-actors/alls-green@v1.2.2
with: with:
jobs: ${{ toJSON(needs) }} jobs: ${{ toJSON(needs) }}
...@@ -3,10 +3,10 @@ name: Python-package ...@@ -3,10 +3,10 @@ name: Python-package
on: on:
push: push:
branches: branches:
- master - master
pull_request: pull_request:
branches: branches:
- master - master
# automatically cancel in-progress builds if another commit is pushed # automatically cancel in-progress builds if another commit is pushed
concurrency: concurrency:
...@@ -147,7 +147,7 @@ jobs: ...@@ -147,7 +147,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [test, test-latest-versions, test-oldest-versions] needs: [test, test-latest-versions, test-oldest-versions]
steps: steps:
- name: Note that all tests succeeded - name: Note that all tests succeeded
uses: re-actors/alls-green@v1.2.2 uses: re-actors/alls-green@v1.2.2
with: with:
jobs: ${{ toJSON(needs) }} jobs: ${{ toJSON(needs) }}
...@@ -3,10 +3,10 @@ name: R-package ...@@ -3,10 +3,10 @@ name: R-package
on: on:
push: push:
branches: branches:
- master - master
pull_request: pull_request:
branches: branches:
- master - master
# automatically cancel in-progress builds if another commit is pushed # automatically cancel in-progress builds if another commit is pushed
concurrency: concurrency:
...@@ -358,7 +358,7 @@ jobs: ...@@ -358,7 +358,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [test, test-r-sanitizers, test-r-extra-checks] needs: [test, test-r-sanitizers, test-r-extra-checks]
steps: steps:
- name: Note that all tests succeeded - name: Note that all tests succeeded
uses: re-actors/alls-green@v1.2.2 uses: re-actors/alls-green@v1.2.2
with: with:
jobs: ${{ toJSON(needs) }} jobs: ${{ toJSON(needs) }}
...@@ -5,10 +5,10 @@ name: Static Analysis ...@@ -5,10 +5,10 @@ name: Static Analysis
on: on:
push: push:
branches: branches:
- master - master
pull_request: pull_request:
branches: branches:
- master - master
# automatically cancel in-progress builds if another commit is pushed # automatically cancel in-progress builds if another commit is pushed
concurrency: concurrency:
...@@ -88,7 +88,7 @@ jobs: ...@@ -88,7 +88,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [test, r-check-docs] needs: [test, r-check-docs]
steps: steps:
- name: Note that all tests succeeded - name: Note that all tests succeeded
uses: re-actors/alls-green@v1.2.2 uses: re-actors/alls-green@v1.2.2
with: with:
jobs: ${{ toJSON(needs) }} jobs: ${{ toJSON(needs) }}
...@@ -11,24 +11,24 @@ jobs: ...@@ -11,24 +11,24 @@ jobs:
env: env:
SECRETS_WORKFLOW: ${{ secrets.WORKFLOW }} SECRETS_WORKFLOW: ${{ secrets.WORKFLOW }}
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 5 fetch-depth: 5
submodules: false submodules: false
- name: Trigger R valgrind tests - name: Trigger R valgrind tests
if: github.event.comment.body == '/gha run r-valgrind' if: github.event.comment.body == '/gha run r-valgrind'
run: | run: |
$GITHUB_WORKSPACE/.ci/trigger-dispatch-run.sh \ $GITHUB_WORKSPACE/.ci/trigger-dispatch-run.sh \
"${{ github.event.issue.pull_request.url }}" \ "${{ github.event.issue.pull_request.url }}" \
"${{ github.event.comment.id }}" \ "${{ github.event.comment.id }}" \
"gha_run_r_valgrind" "gha_run_r_valgrind"
- name: Trigger update R configure - name: Trigger update R configure
if: github.event.comment.body == '/gha run r-configure' if: github.event.comment.body == '/gha run r-configure'
run: | run: |
$GITHUB_WORKSPACE/.ci/trigger-dispatch-run.sh \ $GITHUB_WORKSPACE/.ci/trigger-dispatch-run.sh \
"${{ github.event.issue.pull_request.url }}" \ "${{ github.event.issue.pull_request.url }}" \
"${{ github.event.comment.id }}" \ "${{ github.event.comment.id }}" \
"gha_run_r_configure" "gha_run_r_configure"
This diff is collapsed.
...@@ -10,5 +10,4 @@ rules: ...@@ -10,5 +10,4 @@ rules:
check-keys: false check-keys: false
# temporarily disabled rules # temporarily disabled rules
indentation: disable
comments-indentation: disable comments-indentation: disable
...@@ -37,70 +37,70 @@ navbar: ...@@ -37,70 +37,70 @@ navbar:
title: LightGBM title: LightGBM
type: default type: default
left: left:
- icon: fa-reply fa-lg - icon: fa-reply fa-lg
href: ../ href: ../
- icon: fa-home fa-lg - icon: fa-home fa-lg
href: index.html href: index.html
- text: Articles - text: Articles
href: articles/index.html href: articles/index.html
- text: Reference - text: Reference
href: reference/index.html href: reference/index.html
right: right:
- icon: fa-github fa-lg - icon: fa-github fa-lg
href: https://github.com/microsoft/LightGBM/tree/master/R-package href: https://github.com/microsoft/LightGBM/tree/master/R-package
reference: reference:
- title: Datasets - title: Datasets
desc: Datasets included with the R-package desc: Datasets included with the R-package
contents: contents:
- '`agaricus.train`' - '`agaricus.train`'
- '`agaricus.test`' - '`agaricus.test`'
- '`bank`' - '`bank`'
- title: Data Input / Output - title: Data Input / Output
desc: Data I/O required for LightGBM desc: Data I/O required for LightGBM
contents: contents:
- '`dim.lgb.Dataset`' - '`dim.lgb.Dataset`'
- '`dimnames.lgb.Dataset`' - '`dimnames.lgb.Dataset`'
- '`get_field`' - '`get_field`'
- '`set_field`' - '`set_field`'
- '`lgb.Dataset`' - '`lgb.Dataset`'
- '`lgb.Dataset.construct`' - '`lgb.Dataset.construct`'
- '`lgb.Dataset.create.valid`' - '`lgb.Dataset.create.valid`'
- '`lgb.Dataset.save`' - '`lgb.Dataset.save`'
- '`lgb.Dataset.set.categorical`' - '`lgb.Dataset.set.categorical`'
- '`lgb.Dataset.set.reference`' - '`lgb.Dataset.set.reference`'
- '`lgb.convert_with_rules`' - '`lgb.convert_with_rules`'
- '`lgb.slice.Dataset`' - '`lgb.slice.Dataset`'
- title: Machine Learning - title: Machine Learning
desc: Train models with LightGBM and then use them to make predictions on new data desc: Train models with LightGBM and then use them to make predictions on new data
contents: contents:
- '`lightgbm`' - '`lightgbm`'
- '`lgb.train`' - '`lgb.train`'
- '`predict.lgb.Booster`' - '`predict.lgb.Booster`'
- '`lgb.cv`' - '`lgb.cv`'
- '`lgb.configure_fast_predict`' - '`lgb.configure_fast_predict`'
- title: Saving / Loading Models - title: Saving / Loading Models
desc: Save and load LightGBM models desc: Save and load LightGBM models
contents: contents:
- '`lgb.dump`' - '`lgb.dump`'
- '`lgb.save`' - '`lgb.save`'
- '`lgb.load`' - '`lgb.load`'
- '`lgb.model.dt.tree`' - '`lgb.model.dt.tree`'
- '`lgb.drop_serialized`' - '`lgb.drop_serialized`'
- '`lgb.make_serializable`' - '`lgb.make_serializable`'
- '`lgb.restore_handle`' - '`lgb.restore_handle`'
- title: Model Interpretation - title: Model Interpretation
desc: Analyze your models desc: Analyze your models
contents: contents:
- '`lgb.get.eval.result`' - '`lgb.get.eval.result`'
- '`lgb.importance`' - '`lgb.importance`'
- '`lgb.interprete`' - '`lgb.interprete`'
- '`lgb.plot.importance`' - '`lgb.plot.importance`'
- '`lgb.plot.interpretation`' - '`lgb.plot.interpretation`'
- '`print.lgb.Booster`' - '`print.lgb.Booster`'
- '`summary.lgb.Booster`' - '`summary.lgb.Booster`'
- title: Multithreading Control - title: Multithreading Control
desc: Manage degree of parallelism used by LightGBM desc: Manage degree of parallelism used by LightGBM
contents: contents:
- '`getLGBMThreads`' - '`getLGBMThreads`'
- '`setLGBMThreads`' - '`setLGBMThreads`'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment