Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pr-annotators/shellcheck-pr-annotator

Annotate pull requests with shellcheck errors detected during CI
https://github.com/pr-annotators/shellcheck-pr-annotator

annotations code-review github-actions pull-requests shell-scripts shellcheck

Last synced: 6 days ago
JSON representation

Annotate pull requests with shellcheck errors detected during CI

Awesome Lists containing this project

README

        

# Shellcheck PR Annotator

## Usage

Annotate pull requests with shellcheck errors detected during CI.

This is designed to work with the "gcc" output format of shellcheck.

Note: This doesn't install or run shellcheck, it just sets up the PR annotations.

### Example workflow

```yaml
name: My Workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

- name: Add shellcheck annotator
uses: pr-annotators/shellcheck-pr-annotator@master

- name: Run shellcheck
uses: ludeeus/action-shellcheck@master
with:
format: gcc
```