Skip to content

Commit 5fa624b

Browse files
authored
fix: missleading errors (#14)
1 parent 4395c66 commit 5fa624b

5 files changed

Lines changed: 18 additions & 9 deletions

File tree

.github/linters/.cspell-wordlist.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
"README.md",
88
".gitignore",
99
".Rbuildignore",
10+
".mega-linter.yml",
1011
".cspell.json",
1112
".lintr",
13+
".lycheeignore",
1214
"inst/WORDLIST",
1315
"docs/**"
1416
],

.github/linters/.cspell.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@
77
"README.md",
88
".gitignore",
99
".Rbuildignore",
10+
".mega-linter.yml",
1011
".cspell.json",
11-
".lintr"
12-
],
12+
".lintr",
13+
".lycheeignore",
14+
"inst/WORDLIST",
15+
"docs/**"
16+
],
1317
"patterns": [
1418
{
1519
"name": "code_chunk",

.github/linters/.mega-linter.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
APPLY_FIXES: all
2-
APPLY_FIXES_EVENT: pull_request
3-
APPLY_FIXES_MODE: pull_request
42
DISABLE_LINTERS:
53
- REPOSITORY_GIT_DIFF
64
ADDITIONAL_EXCLUDED_DIRECTORIES:
75
- dev
8-
SPELL_LYCHEE_FILE_EXTENSIONS: "*"
6+
SPELL_LYCHEE_ARGUMENTS: "--exclude-path man/figures --exclude-path docs"
7+
SPELL_LYCHEE_FILE_EXTENSIONS:
8+
- "*"
99
SPELL_CSPELL_ANALYZE_FILE_NAMES: false
10-
MARKDOWN_MARKDOWNLINT_ARGUMENTS: "--ignore tests/testthat/_snaps"
10+
MARKDOWN_MARKDOWNLINT_ARGUMENTS: "--ignore tests/testthat/_snaps --ignore LICENSE.md --ignore NEWS.md --ignore README.md --ignore cran-comments.md"

.github/workflows/megalinter.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Set up node.js 20
26-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v4
2727
with:
2828
node-version: "20"
2929
- name: Checkout
@@ -41,9 +41,12 @@ jobs:
4141
fi
4242
- name: MegaLinter
4343
id: ml
44-
uses: oxsecurity/megalinter@v7
44+
uses: oxsecurity/megalinter@latest
4545
env:
4646
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
47+
APPLY_FIXES: all
48+
APPLY_FIXES_EVENT: pull_request
49+
APPLY_FIXES_MODE: pull_request
4750
- name: Archive production artifacts
4851
if: success() || failure()
4952
uses: actions/upload-artifact@v4

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: r.workflows
22
Title: R package workflows
3-
Version: 0.0.1
3+
Version: 0.0.1.9000
44
Authors@R: c(
55
person("Cervan", "Girard", , "cgid@novonordisk.com", role = c("aut", "cre")),
66
person("Aksel", "Thomsen", , "oath@novonordisk.com", role = c("aut"))

0 commit comments

Comments
 (0)