From e9c78c63c9a13fd32fa270626f4414e6ca1234d5 Mon Sep 17 00:00:00 2001 From: Gareth Healy Date: Mon, 27 Nov 2023 15:47:18 +0000 Subject: [PATCH] bumped regal and added renovate config to keep up to date --- .github/workflows/regal-lint.yaml | 5 ++++- .regal/config.yaml | 9 +++++++++ renovate.json | 1 + 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/regal-lint.yaml b/.github/workflows/regal-lint.yaml index 956275bf..5be64128 100644 --- a/.github/workflows/regal-lint.yaml +++ b/.github/workflows/regal-lint.yaml @@ -5,6 +5,9 @@ on: [push, pull_request] jobs: lint-policy: runs-on: ubuntu-latest + env: + # renovate: datasource=github-releases depName=StyraInc/regal + REGAL_VERSION: v0.13.0 steps: - name: Check out code uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 @@ -12,7 +15,7 @@ jobs: - name: Setup Regal uses: StyraInc/setup-regal@94ad2891f53efdb7ebe7c6836bc25ecc9504aec1 # v0.2.0 with: - version: v0.10.1 + version: ${{ env.REGAL_VERSION }} - name: Run Regal lint run: regal lint --format github policy diff --git a/.regal/config.yaml b/.regal/config.yaml index 8d09d7c3..4f90e0b6 100644 --- a/.regal/config.yaml +++ b/.regal/config.yaml @@ -1,7 +1,14 @@ rules: + bugs: + inconsistent-args: + level: ignore idiomatic: no-defined-entrypoint: level: ignore + use-contains: + level: ignore + use-if: + level: ignore style: avoid-get-and-list-prefix: level: ignore @@ -20,3 +27,5 @@ rules: level: ignore todo-comment: level: ignore + unconditional-assignment: + level: ignore \ No newline at end of file diff --git a/renovate.json b/renovate.json index 01ae43ad..425c07c9 100644 --- a/renovate.json +++ b/renovate.json @@ -2,6 +2,7 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:best-practices", + "regexManagers:githubActionsVersions", "schedule:earlyMondays" ] }