Skip to content

go-feature-flag/gofeatureflag-lint-action

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

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

gofeatureflag-lint-action

Go Feature Flag

GoFeatureFlagLint

Lint your feature flag config files

The go-feature-flag/gofeatureflag-lint-action Github action performs the linting of the GO Feature Flag flag config file. It checks for errors in the config file and returns the error message if any.

๐Ÿ“ข Join Our Community: Slack

Usage ๐Ÿ“

on: [push]

jobs:
  gofeatureflag-lint-job:
    runs-on: ubuntu-latest
    name: A demo job to run gofeatureflag-lint on a config file
    steps:
      
      ## checkout the code from the repository
      - name: Checkout
        uses: actions/checkout@v3
      
      ## run the gofeatureflag-lint action
      - name: Lint the config file
        uses: go-feature-flag/gofeatureflag-lint-action@v1

        ## set the input parameters for the action
        with:
          flag-file: ./config/flag-config.yaml
          format: yaml

Inputs โš™๏ธ

Name Required Defaults Description
flag-file false config/flag-config.yaml Absolute or relative path of the file with name
format false yaml config file of type yaml, toml, or json

Outputs โœ‰๏ธ

Name Description
lint-message empty if no error is found, else the value will be the error message

Share the Love โค๏ธ

Like this project? Please give it a โ˜… on our GitHub!

License ๐Ÿ’ณ

This project is licensed under the MIT License.

About

GitHub Action to lint your GO Feature Flag ๐Ÿ configuration file.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages