Skip to content

GitHub Action for removing a database connection on QueryDesk

License

Notifications You must be signed in to change notification settings

QueryDesk/remove-db-client

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

5 Commits
 
 
 
 
 
 

Repository files navigation

Remove Database Client (QueryDesk)

Automate setting up a database client using https://querydesk.com so your team has instant access for debugging and testing.

This action allows you to cleanup connections that were previously created.

Usage

jobs:
  create_db:

    steps:
    # ...

    - name: Remove Database Client
      uses: QueryDesk/remove-db-client@v1
      with:
        api-key: ${{ secrets.QUERYDESK_API_KEY}}
        id: pr-${{ github.event.pull_request.number }} # your workflow trigger must be `pull_request` for this to work and must match the id passed on create

    # ...

Inputs

  • api-key: (Required) You will need to create an API key on https://app.querydesk.com/api-keys and save it as a secret in GitHub Actions settings.

    Example API key:

    SFMyNTY.g2gDbQAAAB5rZXlfMDFHSDRHWkFFVkVIOThCWlhXRzZFMjNOUlduBgDh2w9JhAFiAAFRgA.SeeINPdFn2cz6kqnkPb7IE7B9OLnc840R--hWiRoTYg
    
  • id: (Required) The id that was used to create the database connection.

  • host: (Optional) The host to make the api call to, defaults to api.querydesk.com.

About

GitHub Action for removing a database connection on QueryDesk

Resources

License

Stars

Watchers

Forks

Packages

No packages published