jest-community / eslint-plugin-jest

ESLint plugin for Jest
MIT License
1.12k stars 228 forks source link

chore(deps): update danger/danger-js action to v12.3.2 #1615

Closed renovate[bot] closed 2 weeks ago

renovate[bot] commented 2 weeks ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
danger/danger-js action patch 12.3.1 -> 12.3.2

Release Notes

danger/danger-js (danger/danger-js) ### [`v12.3.2`](https://togithub.com/danger/danger-js/blob/HEAD/CHANGELOG.md#1232) [Compare Source](https://togithub.com/danger/danger-js/compare/12.3.1...12.3.2) - \[[#​1180](https://togithub.com/danger/danger-js/issues/1180)] Adds support for ESM Dangerfiles (by using `dangerfile.mts`/`dangerfile.mjs`) \[[@​matthewh](https://togithub.com/matthewh)]

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 2 weeks ago
Fails
:no_entry_sign: Danger failed to run `dangerfile.ts`.

Error SyntaxError

Cannot use import statement outside a module
dangerfile.ts:46
import { parse } from 'path';
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at internalCompileFunction (node:internal/vm:76:18)
    at wrapSafe (node:internal/modules/cjs/loader:1283:20)
    at Module._compile (node:internal/modules/cjs/loader:1328:27)
    at requireFromString (/usr/src/danger/node_modules/require-from-string/index.js:28:4)
    at /usr/src/danger/dist/runner/runners/inline.js:183:68
    at step (/usr/src/danger/dist/runner/runners/inline.js:56:23)
    at Object.next (/usr/src/danger/dist/runner/runners/inline.js:37:53)
    at /usr/src/danger/dist/runner/runners/inline.js:31:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/src/danger/dist/runner/runners/inline.js:27:12)

Dangerfile

71|   // prioritize labeling based on the title since most pull requests will get
72|   // squashed into a single commit with the title as the subject, but fallback
73|   // to looking through the commits if we can't determine a label from the title
74|   if (await labelBasedOnTitle()) {
75|     return;
--------------------^
76|   }
77| 
78|   await labelBasedOnCommits();
79| };

Generated by :no_entry_sign: dangerJS against 9a1eb84ecfacfc8ab3277840edc044057125217d

renovate[bot] commented 2 weeks ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (12.3.2). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.