Skip to content

Commit

Permalink
bumped regal and added renovate config to keep up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy committed Nov 27, 2023
1 parent 66c9800 commit e9c78c6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/regal-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ 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

- 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
9 changes: 9 additions & 0 deletions .regal/config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -20,3 +27,5 @@ rules:
level: ignore
todo-comment:
level: ignore
unconditional-assignment:
level: ignore
1 change: 1 addition & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:best-practices",
"regexManagers:githubActionsVersions",
"schedule:earlyMondays"
]
}

0 comments on commit e9c78c6

Please sign in to comment.