Skip to content

Commit

Permalink
Fix linter tests action to be reusable (#745)
Browse files Browse the repository at this point in the history
Fixes
[failures](https://github.com/trunk-io/trunk/actions/runs/8659672695/job/23746050111)
and cleans up dependabot ignores for `eslint` until #735 is resolved.
[Successful
run](https://github.com/trunk-io/trunk/actions/runs/8693488278/job/23840365226)
  • Loading branch information
TylerJang27 committed Apr 15, 2024
1 parent e712242 commit 57497c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/actions/linter_tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ runs:
- name: Clean jest cache
run: npx jest --clearCache
shell: bash
working-directory: ${{ inputs.path }}

- name: Run plugin tests
if: runner.os == 'Windows'
Expand Down
5 changes: 3 additions & 2 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ updates:
day: sunday
# trunk-ignore(yamllint/quoted-strings)
time: "08:00" # UTC
labels: [🤖 dependabot]
groups:
dependencies:
patterns:
Expand All @@ -21,9 +20,11 @@ updates:
day: sunday
# trunk-ignore(yamllint/quoted-strings)
time: "08:00" # UTC
labels: [🤖 dependabot]
groups:
dependencies:
patterns:
- "*"
# TODO(Tyler): Readd once eslint9 is resolved.
ignore:
- dependency-name: eslint
open-pull-requests-limit: 2

0 comments on commit 57497c4

Please sign in to comment.