Thanks to visit codestin.com
Credit goes to github.com

Skip to content

🦉 Run squawk in GitHub actions to lint PostgreSQL migrations

License

Notifications You must be signed in to change notification settings

K-Phoen/action-squawk

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action: Squawk

This action runs squawk on pull requests to lint PostgreSQL migrations.

Usage

name: Self test
on: [pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    
    steps:
      - uses: actions/checkout@v2

      - name: squawk
        uses: K-Phoen/action-squawk@main

Inputs

targets

Required. Glob pattern describing what files to lint. Default is migrations/*.sql.

exclude

Optional. Comma-separated checks to exclude (--exclude flag from squawk). Default is empty.

reporter

Optional. Reporter of reviewdog command (-reporter flag from reviewdog). Default is github-pr-review.

squawk_version

Required. The squawk version to use. Default is v0.8.2.

reviewdog_version

Required. The reviewdog version to use. Default is 0.14.0.

License

This action is released under the MIT license.

About

🦉 Run squawk in GitHub actions to lint PostgreSQL migrations

Resources

License

Stars

Watchers

Forks