Skip to content

Releases: ataylorme/eslint-annotate-action

v4.0.0-beta.1

15 Mar 14:26

Choose a tag to compare

v4.0.0-beta.1 Pre-release
Pre-release

v4.0.0-beta.1

First beta of the major v4 rewrite. Please test and report any issues!

Use it in your workflow:

- uses: ataylorme/eslint-annotate-action@v4.0.0-beta.1
  with:
    github-token: ${{ secrets.GITHUB_TOKEN }}
    report-json: eslint_report.json

Your workflow also needs:

permissions:
  checks: write
  pull-requests: read  # only needed with only-pr-files: true or post-comment: true

Breaking changes

  • Requires Node 24 — add actions/setup-node with node-version: '24' if your runner doesn't have it
  • github-token input is now required (explicit auth replacing @octokit/action)

Bug fixes

  • Fix crash when GITHUB_WORKSPACE is unset (#82, thanks @thefrosty)
  • Throw a clear error when the report glob matches no files (#93, thanks @joprice)
  • Warnings now correctly annotated at warning level instead of failure (#80, thanks @vldslv-a)
  • Fix null ruleId crash for fatal parse errors and --report-unused-disable-directives

New inputs

Input Default Description
neutral-on-warning false Set check conclusion to neutral (not success) when only warnings exist (#89, thanks @jessetan)
post-comment false Post/update a sticky PR comment with the ESLint summary (#90, thanks @jessetan)

Tooling

  • Replaced @vercel/ncc with rollup for bundling
  • ESLint v9 flat config
  • Migrated to @actions/github + @actions/core from @actions/toolkit
  • 0 npm vulnerabilities (was 19, thanks @drewish)
  • Node 24 runtime (thanks @sturman)

3.0.0 - CONTAINS BREAKING CHANGES

19 Apr 02:45

Choose a tag to compare

3.0.0 - CONTAINS BREAKING CHANGES

  • Rename the repo-token input to GITHUB_TOKEN
  • Run the Action itself on Node 20 instead of Node 16
  • Truncate summary if too long
  • Only add changed file to markdown summary if only changed files is true
  • Use @octokit/action instead of actions-toolkit
  • Use ESLint types from @types/eslint instead of custom types
  • Default line to 1 if it's not present

2.2.0

22 Aug 16:44
5f4dc2e

Choose a tag to compare

2.1.1

22 Aug 16:37
2c426a3

Choose a tag to compare

Merge pull request #64 from ataylorme/feat/report-unused-disable-dire…

1.2.0

22 Apr 17:04
a1bf7cb

Choose a tag to compare

  • Add fail-on-warning input

1.2.0-beta1

21 Apr 18:34

Choose a tag to compare

1.2.0-beta1 Pre-release
Pre-release
  • Add fail-on-warning input (#20, addressing #19)

1.1.3

08 Apr 17:55
925c764

Choose a tag to compare

  • Bump the version to 1.1.3
  • Add a start_column is not null check
  • Update GitHub Actions to use the latest version

1.1.3-beta1

19 Dec 19:21

Choose a tag to compare

1.1.3-beta1 Pre-release
Pre-release

Addresses start_column cannot be null error reported in #14

1.1.2

06 Jul 12:32

Choose a tag to compare

Allow annotation end_coulmn to be null. See #7 and #8

1.1.1

27 Jan 18:51

Choose a tag to compare