This action runs dotenv-linter with reviewdog on pull requests to lint .env
files.
By default, with reporter: github-pr-check
an annotation is added to the line:
With reporter: github-pr-review
a comment is added to the Pull Request Conversation:
github-code-suggestions
With reporter: github-code-suggestions
a code suggestion is added to the Pull Request Conversation:
GITHUB_TOKEN
. Default is ${{ github.token }}
.
Optional. dotenv-linter
flags. (dotenv-linter <dotenv_linter_flags>
)
Optional. Tool name to use for reviewdog reporter. Useful when running multiple actions with different config.
Optional. Reporter of reviewdog command [github-pr-check
, github-pr-review
, github-code-suggestions
]. The default is github-pr-check
.
Optional. Filtering mode for the reviewdog command [added
, diff_context
, file
, nofilter
]. Default is added
.
Optional. Exit code for reviewdog when errors are found [true
, false
] Default is false
.
Optional. Additional reviewdog flags.
name: dotenv on: [pull_request] jobs: dotenv-linter: name: runner / dotenv-linter runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Run dotenv-linter uses: dotenv-linter/action-dotenv-linter@v2 with: reporter: github-pr-review # Default is github-pr-check dotenv_linter_flags: --skip UnorderedKey
name: dotenv on: [pull_request] jobs: dotenv-linter: name: runner / dotenv-linter runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Run dotenv-linter with code suggestions uses: dotenv-linter/action-dotenv-linter@v2 with: reporter: github-code-suggestions
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4