Skip to content

Output in a format compatible with github annotations so that running in GitHub workflow will annotate code #2096

@somewhatabstract

Description

@somewhatabstract

When running in a workflow on GitHub Actions, it will be really useful to see inline annotations of code where sync errors occur or fixes are applied (if autofix is run).

See https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions

I think using this format for output when on GitHub should work 🤞🏻:

"::error file=app.js,line=1::Missing semicolon"

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions