From 1e3b638493d5bfe35208ce73ab4b3bd2ddabc0b8 Mon Sep 17 00:00:00 2001 From: "Satadru Pramanik, DO, MPH, MEng" Date: Wed, 4 Dec 2024 10:54:53 -0500 Subject: [PATCH] Add dependabot.yml to check for github action version updates, fixup reviewcop workflows (#10857) * Create dependabot.yml Copying from https://github.com/actions/runner/blob/main/.github/dependabot.yml * Lint and adjust reviewdog workflows to use non-deprecated fail_level option. Signed-off-by: Satadru Pramanik --------- Signed-off-by: Satadru Pramanik --- .github/dependabot.yml | 13 +++++++++++++ .github/workflows/Markdown-lint.yml | 3 +-- .github/workflows/Rubocop.yml | 3 +-- .github/workflows/ShellCheck.yml | 3 +-- .github/workflows/YAMLlint.yml | 3 +-- 5 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..cd26c7d6b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +--- +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + target-branch: "master" diff --git a/.github/workflows/Markdown-lint.yml b/.github/workflows/Markdown-lint.yml index 06c581175..c165142c5 100644 --- a/.github/workflows/Markdown-lint.yml +++ b/.github/workflows/Markdown-lint.yml @@ -12,7 +12,6 @@ jobs: - name: Markdown-lint uses: reviewdog/action-markdownlint@v0 with: - fail_on_error: true + fail_level: any markdownlint_flags: '-s .mdl_style.rb' reporter: github-pr-check - reviewdog_flags: '-fail-level=any' diff --git a/.github/workflows/Rubocop.yml b/.github/workflows/Rubocop.yml index bd0e32cdc..8ac10b1e0 100644 --- a/.github/workflows/Rubocop.yml +++ b/.github/workflows/Rubocop.yml @@ -15,8 +15,7 @@ jobs: - name: Rubocop uses: reviewdog/action-rubocop@v2 with: - fail_on_error: true + fail_level: any filter_mode: nofilter only_changed: true reporter: github-pr-check - reviewdog_flags: '-fail-level=any' diff --git a/.github/workflows/ShellCheck.yml b/.github/workflows/ShellCheck.yml index 713c3482c..00a23a4d4 100644 --- a/.github/workflows/ShellCheck.yml +++ b/.github/workflows/ShellCheck.yml @@ -13,6 +13,5 @@ jobs: uses: reviewdog/action-shellcheck@v1 with: exclude: './tools/*' - fail_on_error: true + fail_level: any reporter: github-pr-check - reviewdog_flags: '-fail-level=any' diff --git a/.github/workflows/YAMLlint.yml b/.github/workflows/YAMLlint.yml index 59ce8c0ae..08dc87eb4 100644 --- a/.github/workflows/YAMLlint.yml +++ b/.github/workflows/YAMLlint.yml @@ -12,6 +12,5 @@ jobs: - name: YAMLLint uses: reviewdog/action-yamllint@v1 with: - fail_on_error: true + fail_level: any reporter: github-pr-check - reviewdog_flags: '-fail-level=any'