All Projects → dotenv-linter → action-dotenv-linter

dotenv-linter / action-dotenv-linter

Licence: MIT license
GitHub Action to run dotenv-linter ⚡️

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to action-dotenv-linter

action-ktlint
Run Ktlint with reviewdog
Stars: ✭ 41 (+192.86%)
Mutual labels:  github-actions, reviewdog
action-rubocop
Run rubocop with reviewdog 🐶
Stars: ✭ 83 (+492.86%)
Mutual labels:  github-actions, reviewdog
action-brakeman
Run brakeman with reviewdog 🐶
Stars: ✭ 22 (+57.14%)
Mutual labels:  github-actions, reviewdog
action-hadolint
Run hadolint with reviewdog 🐶
Stars: ✭ 38 (+171.43%)
Mutual labels:  github-actions, reviewdog
actions-publish-gh-pages
🍣 A GitHub Action to publish static website using GitHub Pages
Stars: ✭ 12 (-14.29%)
Mutual labels:  github-actions
scan-action
Anchore container analysis and scan provided as a GitHub Action
Stars: ✭ 140 (+900%)
Mutual labels:  github-actions
codeclimate-action
GitHub Action to send your code coverage to CodeClimate
Stars: ✭ 145 (+935.71%)
Mutual labels:  github-actions
gh-action-get-changed-files
GitHub Action that saves changed files as JSON for use by other actions.
Stars: ✭ 82 (+485.71%)
Mutual labels:  github-actions
push-package-action
| Public | GitHub Action to Push a Package to Octopus Deploy
Stars: ✭ 23 (+64.29%)
Mutual labels:  github-actions
iOSDC2020-Talk-Sample
iOSDC 2020「GitHub ActionsでiOSアプリをCIする個人的ベストプラクティス」レギュラートークのサンプルリポジトリ
Stars: ✭ 35 (+150%)
Mutual labels:  github-actions
apprise-ga
GitHub Action to send a dynamic push notification to every single platform thanks to the Apprise library
Stars: ✭ 18 (+28.57%)
Mutual labels:  github-actions
deploy-cloudrun
This action deploys your container image to Cloud Run.
Stars: ✭ 238 (+1600%)
Mutual labels:  github-actions
pangyo-smilecook
🍱 Github Actions를 활용한 판교 한식뷔페 스마일쿡 식단 슬랙봇
Stars: ✭ 12 (-14.29%)
Mutual labels:  github-actions
csharp-docs-generator
An action that generates html documentation for C# programs to use for GitHub pages.
Stars: ✭ 21 (+50%)
Mutual labels:  github-actions
assign-author
GitHub Actions to assign author to issue or PR
Stars: ✭ 55 (+292.86%)
Mutual labels:  github-actions
action-netlify-deploy
🙌 Netlify deployments via GitHub actions
Stars: ✭ 32 (+128.57%)
Mutual labels:  github-actions
ghaction-cmake
cmake swiss army knife github docker action
Stars: ✭ 19 (+35.71%)
Mutual labels:  github-actions
hackernews-button
Privacy-preserving Firefox extension linking to Hacker News discussion; built with Bloom filters and WebAssembly
Stars: ✭ 73 (+421.43%)
Mutual labels:  github-actions
dart-package-publisher
Action to Publish Dart / Flutter Package To https://pub.dev When you need to publish a package, just bump the version in pubspec.yaml
Stars: ✭ 45 (+221.43%)
Mutual labels:  github-actions
setup-jdk
(DEPRECATED) Set up your GitHub Actions workflow with a specific version of AdoptOpenJDK
Stars: ✭ 32 (+128.57%)
Mutual labels:  github-actions

GitHub Action: Run dotenv-linter with reviewdog 🐶

depup release GitHub release (latest SemVer) action-bumpr supported

This action runs dotenv-linter with reviewdog on pull requests to lint .env files.

Examples

With github-pr-check

By default, with reporter: github-pr-check an annotation is added to the line:

Example comment made by the action, with github-pr-check

With github-pr-review

With reporter: github-pr-review a comment is added to the Pull Request Conversation:

Example comment made by the action, with github-pr-review

With github-code-suggestions

With reporter: github-code-suggestions a code suggestion is added to the Pull Request Conversation:

Example comment made by the action, with github-code-suggestions

Inputs

github_token

GITHUB_TOKEN. Default is ${{ github.token }}.

dotenv_linter_flags

Optional. dotenv-linter flags. (dotenv-linter <dotenv_linter_flags>)

tool_name

Optional. Tool name to use for reviewdog reporter. Useful when running multiple actions with different config.

reporter

Optional. Reporter of reviewdog command [github-pr-check, github-pr-review, github-code-suggestions]. The default is github-pr-check.

filter_mode

Optional. Filtering mode for the reviewdog command [added, diff_context, file, nofilter]. Default is added.

fail_on_error

Optional. Exit code for reviewdog when errors are found [true, false] Default is false.

reviewdog_flags

Optional. Additional reviewdog flags.

Simple check example

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

Code suggestions example

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

Sponsor

Sponsored by Evrone

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].