From b17db6102fca7fa76582aa5ad441b3ec1e6f1554 Mon Sep 17 00:00:00 2001 From: Edward Louth Date: Fri, 17 Feb 2023 17:06:43 +0000 Subject: [PATCH] Example Config Action --- .github/workflows/config-action.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/config-action.yaml diff --git a/.github/workflows/config-action.yaml b/.github/workflows/config-action.yaml new file mode 100644 index 0000000..58de90b --- /dev/null +++ b/.github/workflows/config-action.yaml @@ -0,0 +1,21 @@ +name: Example Config Action + +on: pull_request + +jobs: + create_run: + runs-on: ubuntu-latest + name: Test Grai + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Create Run + uses: grai-io/grai-actions-server@master + with: + api-key: ${{ secrets.GRAI_API_KEY }} + action: tests + connector_name: PostgreSQL + connector_namespace: prod + connector_metadata: '{"host":"sample-database.cudyk77thtpt.us-west-2.rds.amazonaws.com","port": 5432,"dbname":"jaffle_shop_dev","user":"demo"}' + connector_secrets: '{"password":"zfYD%qW2VOfUmK1Y"}'