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 <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2024-12-04 10:54:53 -05:00
committed by GitHub
parent 0f6606beeb
commit 1e3b638493
5 changed files with 17 additions and 8 deletions

13
.github/dependabot.yml vendored Normal file
View File

@@ -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"

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'